Re: setting the proper file permisions chmod

2008-12-15 Thread garagefan
fantastic that worked amazingly well. thank you On Dec 15, 12:23 pm, Brian Neal wrote: > On Dec 15, 10:53 am, garagefan wrote:> how would i > make the group include apache? > > Not sure what you are asking. I look in /etc/group to see what groups >

Re: setting the proper file permisions chmod

2008-12-15 Thread Brian Neal
On Dec 15, 10:53 am, garagefan wrote: > how would i make the group include apache? > Not sure what you are asking. I look in /etc/group to see what groups apache belongs to. On my system, apache belongs to a group called apache. So I did something like: # chgrp apache

Re: setting the proper file permisions chmod

2008-12-15 Thread garagefan
how would i make the group include apache? On Dec 15, 11:32 am, Brian Neal wrote: > On Dec 15, 9:51 am, garagefan wrote: > > > Just wondering if anyone else has experience with setting the write > > permissions for apache using mod_python w/ django. >

Re: setting the proper file permisions chmod

2008-12-15 Thread Brian Neal
On Dec 15, 9:51 am, garagefan wrote: > Just wondering if anyone else has experience with setting the write > permissions for apache using mod_python w/ django. > Instead of 0777 I use 0775. I chgrp on the uploads directory, making the group be a group that includes the

Re: setting the proper file permisions chmod

2008-12-15 Thread garagefan
Just wondering if anyone else has experience with setting the write permissions for apache using mod_python w/ django. On Dec 11, 6:01 pm, Graham Dumpleton wrote: > On Dec 12, 9:07 am,garagefan wrote: > > > which would actually result in

Re: setting the proper file permisions chmod

2008-12-11 Thread Graham Dumpleton
On Dec 12, 9:07 am, garagefan wrote: > which would actually result in keeping my server more secure... i > would assume leaving other with rwx would be paramount to keeping my > front door wide open? The risk is more from users who have shell accounts on the same

Re: setting the proper file permisions chmod

2008-12-11 Thread garagefan
which would actually result in keeping my server more secure... i would assume leaving other with rwx would be paramount to keeping my front door wide open? I'll look into mod_wsgi... but i can't imagine that every person running mod_python and working with file uploads hasn't had to combat this

Re: setting the proper file permisions chmod

2008-12-11 Thread Graham Dumpleton
On Dec 12, 8:52 am, garagefan wrote: > this is my first time working this closely to the server for a live > environment :) > > "apache" appears as owner of the file once uploaded. is there a way to > set the default on this to be another user? Only by using

Re: setting the proper file permisions chmod

2008-12-11 Thread garagefan
this is my first time working this closely to the server for a live environment :) "apache" appears as owner of the file once uploaded. is there a way to set the default on this to be another user? On Dec 11, 4:45 pm, Graham Dumpleton wrote: > On Dec 12, 8:32 am,

Re: setting the proper file permisions chmod

2008-12-11 Thread Graham Dumpleton
On Dec 12, 8:32 am, garagefan wrote: > I figured out my issue with the "access denied, suspicious operation" > bull... > > apparently the only way the admin side of my site can upload an image > to a directory is by having "other" set to have full rwx set... ie > chmod

setting the proper file permisions chmod

2008-12-11 Thread garagefan
I figured out my issue with the "access denied, suspicious operation" bull... apparently the only way the admin side of my site can upload an image to a directory is by having "other" set to have full rwx set... ie chmod **7 I'm not so sure this is a good thing to keep set as that would give