Colm MacCarthaigh wrote:
>On Fri, Apr 22, 2005 at 08:28:10PM +0100, Sean O Sullivan wrote:
>>>>apache created files (for web content).
>>it creates files in htroot, and those files must be 775
>>>>>>is this from mod_dav ? mod_disk_cache? something else? Normally, as Paul
>pointed out the only files Apache ever creates are logfiles, lockfiles
>and ocasionally some ssl temp data.
>>>I'm not aware of which mod, or part of apache is creating the files, I
do know that the files are being created by apache, and are being
created in htroot & must have permissions 775.
Apache's default umask (compiled in I believe) is set as 755, and ways
of changing are apparently editing the apachectl (however i added umask
002 to this, and it made no difference) and mod_umask was created (with
mod_dav in mind I believe).
At this point, I'm thinking umask is not the way to go - since files
/must/ be 775, and umask sets files to 666 max.
Problem is - I'm at a slight loss as to how to set file creation mask
(any googling only throws up umask or mod_umask, and not much of
anything else useful).
Regards,
Sean
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!