| SSI, XBitHack and umask Setting default file permissions |
cschults

msg:3552180 | 11:19 pm on Jan 18, 2008 (gmt 0) | I'm using Apache server side includes with XBitHack on, which requires any files with SSI directives to be executable (0744 works) in order for the SSI to be processed. However, my content management system (running as 'nobody') creates files with the perms 0644, which means the includes are not working. I've been reading about umask, but I'm reluctant to change the umask for the user 'nobody' so that all files created by this user are executable. Do I have reason to be? If so, is there a way to permanently set the umask for files within a specific directory?
|
vincevincevince

msg:3555922 | 3:52 pm on Jan 23, 2008 (gmt 0) | I suggest editing your CMS to ensure that new files have the permissions you require.
|
|
|