Skip to content

Instantly share code, notes, and snippets.

@MatthieuScarset
Last active August 30, 2017 17:53
Show Gist options
  • Save MatthieuScarset/d27ba82b62b212455b31756d4086f533 to your computer and use it in GitHub Desktop.
Save MatthieuScarset/d27ba82b62b212455b31756d4086f533 to your computer and use it in GitHub Desktop.
Allow local user to edit files when chown to 82:alpine-www-data
sudo chown -R 82:alpine-www-data .
sudo setfacl -dR -m u:$(whoami):rwX -m u:21:rX -m u:82:rwX .
sudo setfacl -R -m u:$(whoami):rwX -m u:21:rX -m u:82:rwX .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment