OK,
I don't believe it can be done but maybe I can figure it out with a few pointers.
I have two different ways of putting files on my web server which are a php content management system and FTP.
I use proftpd so can set my umask easily for FTP. I use a umask for ftp of "002" which makes the files group writable.
The php CMS has a umask of 026 however or creates files with 640 perms at least.
Could somebody tell how what happens when apache starts up?
if in httpd.conf I have User does apache not look in home folder and read .profile on startup?
I would have thought it does do this as I set some environmental variables in there for my java path etc.
I have tried setting the umask in .profile but it just won't register it after starting up apache.
Any help is greatly appreciated even a categorical "IT CAN'T BE DONE!"
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
I don't believe it can be done but maybe I can figure it out with a few pointers.
I have two different ways of putting files on my web server which are a php content management system and FTP.
I use proftpd so can set my umask easily for FTP. I use a umask for ftp of "002" which makes the files group writable.
The php CMS has a umask of 026 however or creates files with 640 perms at least.
Could somebody tell how what happens when apache starts up?
if in httpd.conf I have User does apache not look in home folder and read .profile on startup?
I would have thought it does do this as I set some environmental variables in there for my java path etc.
I have tried setting the umask in .profile but it just won't register it after starting up apache.
Any help is greatly appreciated even a categorical "IT CAN'T BE DONE!"
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom