Talk:Unix File Permissions
Some web apps that I've installed asked me to make sure that the webserver can write to certain files, sometimes telling me to chmod 777. This, apparently, isn't very safe -- I've read that it's much safer just to chown the file to the webserver user and lower the file permissions. Soooo... what user does the webserver run as? I've tried to use the phpinfo() thing, but it's really confusing and I'm not sure where to look for the user. -Sachinwfs 14:30, 29 Aug 2006 (PDT)
Let's see if anyone is still reading these - I'm looking for a way to change the default permissions in certain directories on my site. I've tried changing .bash-profile for people, which didn't work. I've tried using umask in the .htaccess, which didn't work. I've tried setting the sticky bit, which didn't work. Basically, I need one directory, recursively, to default to 775 permissions. Any ideas? Bbcisdabomb 09:17, 23 June 2010 (UTC)
- Yeah. Go and ask questions like this in the proper place. -- Scjessey 23:29, 23 June 2010 (UTC)