Skip to content

Instantly share code, notes, and snippets.

@acrossoffwest
Last active July 27, 2021 20:32
Show Gist options
  • Save acrossoffwest/ee84e659a0d4609ada96661e47b284ea to your computer and use it in GitHub Desktop.
Save acrossoffwest/ee84e659a0d4609ada96661e47b284ea to your computer and use it in GitHub Desktop.
#!/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 ./
@acrossoffwest
Copy link
Author

curl -s -L https://aow.space/xOI7vGoG | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment