Welcome to WebmasterWorld Guest from

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)

Junior Member

10+ Year Member

joined:July 12, 2006
posts: 49
votes: 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?

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

Senior Member from MY 

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

joined:Apr 1, 2003
votes: 0

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