How to get Apache to write files as group writable?

Paul Howarth paul at city-fan.org
Thu Sep 15 14:40:14 UTC 2005


Jay Paulson wrote:
> Yet another file permissions question! :)
> 
> I have my file permissions set up so that each local user who is in the 
> same group when they create a file it becomes group writable.  However, 
> even after I add apache into the same group that the local users are in 
> (in this case the www group) and upload a file through a browser it 
> doesn't make the file group writable.  How do I configure FC3 to make 
> apache write files to the file system that are group writable (664)?

Try adding a line:

umask 002

to /etc/sysconfig/httpd and then restart httpd

Paul.




More information about the fedora-list mailing list