Welcome to WebmasterWorld Guest from 23.20.230.24

Forum Moderators: bakedjake

Message Too Old, No Replies

SSI, XBitHack and umask

Setting default file permissions

     
11:19 pm on Jan 18, 2008 (gmt 0)

5+ Year Member



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?

3:52 pm on Jan 23, 2008 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I suggest editing your CMS to ensure that new files have the permissions you require.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month