Last active
July 27, 2021 20:32
-
-
Save acrossoffwest/ee84e659a0d4609ada96661e47b284ea 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
#!/bin/bash | |
if [[ ! `which acl` ]]; then | |
if [[ `which apk` ]]; then | |
apk add acl | |
elif [[ `which apt` ]]; then | |
apt update | |
apt install -y acl | |
elif [[ `which apt-get` ]]; then | |
apt-get update | |
apt-get install -y acl | |
fi | |
fi | |
chmod -R g+s ./ | |
setfacl -R -d -m g::rwx ./ | |
setfacl -R -d -m o::rx ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -s -L https://aow.space/xOI7vGoG | bash