Talk:Unix File Permissions Cookbook

PHP file permissions
Now that PHP is run as the user, I tend to give the PHP files no access from other (o-rwx). Any config files then can't be accessed by just anybody snooping around, and there isn't any need I can see for any other PHP files to be accessible either. I'm even considering making a cron job or at least a shell script to do this for me so I make sure it happens. If this is good practice then perhaps it should be a recipe? --Tobymackenzie 10:13, 20 October 2009 (UTC)