Last active
October 25, 2017 17:35
-
-
Save Bat-Chat/394b11604d7fadaa4178 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
find /dir -type f -exec chmod 0644 {} \; | |
find /dir -type d -exec chmod 0755 {} \; | |
sudo groupadd wb | |
sudo usermod -a -G wb www-data | |
sudo usermod -a -G wb batchat | |
sudo chgrp -R wb /dir | |
sudo chmod -R g+rwx /dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment