[ILUG] umask query

Sean O Sullivan seanos at netsoc.itcarlow.ie
Fri Apr 22 19:11:52 IST 2005


lo,

Need files and directories to be created with permissions '775'.
umask should then be set to '002', however, apparently when set umask it 
is set, it will dictate that directories will be created as '775', 
however files as '644' (with a umask of 002).

This is a problem, as I need both to be 775...

Is there any solution for this ?

(not actually using umask command, will be using mod_umask for apache, 
so unsure how successful passing switches would be ...).

Regards,

Sean



More information about the ILUG mailing list