Talk:Unix File Permissions

From DreamHost

Jump to: navigation, search

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)

Personal tools