Re: Permission denied when saving a record with an ImageField in the model

2012-03-17 Thread Jonathan Baker
Chown *ch*anges the *own*er of a file. If you navigate to the directory giving you trouble using terminal and run 'ls -latr', you'll get a print out of both the owner and group for the directory contents. The first name listed is the owner, the second is the group. You need to ensure that the group

Re: Permission denied when saving a record with an ImageField in the model

2012-03-17 Thread Sithembewena Lloyd Dube
Thanks Jonathan, I actualyl came across that answer but am stupmed. I checked *man chown* in my terminal and I never understand those manuals. I will try to find my python process id. On Sat, Mar 17, 2012 at 6:58 PM, Jonathan Baker < jonathandavidba...@gmail.com> wrote: > Sithembewena, > > I was

Re: Permission denied when saving a record with an ImageField in the model

2012-03-17 Thread Jonathan Baker
Sithembewena, I wasn't exactly right in my response, but close. You need to make sure that the same process running your python interpreter has write permissions to your media directory. >From StackOverflow: "The process that is running your Python interpreter doesn't have permission to write int

Re: Permission denied when saving a record with an ImageField in the model

2012-03-17 Thread Sithembewena Lloyd Dube
Hi Jonathan, Thanks for the response. How do I do that? I ran *sudo chmod -R a+rwX Projects/* and I still get the same error. How do I go about making the folder writable? Thanks. On Sat, Mar 17, 2012 at 6:13 PM, Jonathan D. Baker < jonathandavidba...@gmail.com> wrote: > You need to make sure y

Re: Permission denied when saving a record with an ImageField in the model

2012-03-17 Thread Jonathan D. Baker
You need to make sure your server has write permissions on the home/projects directory. Sent from my iPhone On Mar 17, 2012, at 9:02 AM, Sithembewena Lloyd Dube wrote: > Hi all, > > I have a model with an ImageField and when I try to save a record in the > admin site, I get the following: >