[ILUG] umask query

Sean O Sullivan seanos at netsoc.itcarlow.ie
Fri Apr 22 23:14:30 IST 2005


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



More information about the ILUG mailing list