Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PegasisForever/d44c8f1c2a709a184cf5cd0988cde3f2 to your computer and use it in GitHub Desktop.
Save PegasisForever/d44c8f1c2a709a184cf5cd0988cde3f2 to your computer and use it in GitHub Desktop.
set default group and group permission
sudo find . -type d -exec chgrp webmanager {} +
sudo find . -type d -exec chmod g+s {} +
sudo find . -type d -exec setfacl -m default:group::rwx {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment