homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved