Hi, all --

The way our web hosting is set up, files written by apache under a site
directory tree tree have the site groupship but that directory
nonetheless must be world writable.

The only answer from the host was to, yes, avoid 777 and use chown/chgrp
instead.  Now I can do that, but it requires root access and is beyond
the capabilities (much less permissions!) of many of the site admins that
we host.

Is there any conventional wisdom regarding setting up dirs for writing
files by apache?  I have yet to test and see if a php script running
"here" in site 21 can look inside the dir tree "there" for site22 and if
locking down 'other' perms will break anything else, and I am playing
with ideas of a separate apache or httpd directory with perms open ough
to write so that I can create it once as part of starup and not bother
again, but I'm still on very fresh ground.

I can't believe I'm the only one to have run across this problem :-)
What do you all do?


TIA & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to