Created
December 6, 2015 02:44
-
-
Save yuezk/32ca8003bb962e6861d3 to your computer and use it in GitHub Desktop.
/var/www 的权限配置
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://help.ubuntu.com/12.04/serverguide/httpd.html#http-directory-permissions | |
sudo chgrp -R webmasters /var/www | |
sudo find /var/www -type d -exec chmod g=rwxs "{}" \; | |
sudo find /var/www -type f -exec chmod g=rws "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment