Created
October 21, 2022 10:15
-
-
Save palawer/fe6b5aab82f81047dafa340e3dbcf7de to your computer and use it in GitHub Desktop.
Add permissions on new created files in this folder
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
chown www-data.www-data /root/folder | |
chmod g+w /root/folder | |
chmod g+s /root/folder | |
setfacl -d -m u::rwX,g::rwX,o::- /root/folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment