Created
January 16, 2019 12:01
-
-
Save smb/151d13e69de5b905b64bb46ad74b3c96 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
echo $@ | |
sudo setfacl -R -m u:"www-data":rwX -m u:`whoami`:rwX $@ | |
sudo setfacl -dR -m u:"www-data":rwX -m u:`whoami`:rwX $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment