PDA

View Full Version : [ubuntu] Apache Permissions



blakep2
December 12th, 2010, 10:08 PM
I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security.

Also what would be the optimal permissions for running wordpress.

chrislynch8
December 13th, 2010, 05:18 PM
chmod -R (your-permissions) /var/www/some-directory


As for the permissions I assume so long as files are read/write-able by the web server user www-data you'll be OK