Thanks for the answer. It fixed the problem. On Ubuntu it was www-data user and on Red Hat Enterprise 5, it was apache user, who were trying to write in amr's directory. I put each user into amr's group on their respective systems. All is well.
On Aug 15, 4:26 pm, wayne <wayne.tuxro...@gmail.com> wrote: > On Aug 15, 2:40 pm, octopusgrabbus <old_road_f...@verizon.net> wrote: > > > I get a file permissions error, and this is running on Apache. > > > It's dying on the retrbinary line. However, it's logging in using > > valid user names and passwords, so I'm confused as to why it's dying. > > Yes, but it looks as though you are passing a callback command to your > ftp retrbinary() method that saves the file on your local filesystem > (as expected). I would bet that your django instance does not have > permission to write to the directory that your server is trying to > save the file to. If the command line program is working outside of > django, then the ftp setup is fine. Test by setting the permissions > of the directory you are saving to to something like 777. If it > works, that is your problem. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.