Difference between revisions of "Quick Notes"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
* <code>sudo setfacl -Rdm g:users:rx /FOOBAR</code> | * <code>sudo setfacl -Rdm g:users:rx /FOOBAR</code> | ||
Now, the directory '''/FOOBAR''' is writeable by anyone in the '''users''' group. | Now, the directory '''/FOOBAR''' is writeable by anyone in the '''users''' group. | ||
== Some Links == | |||
* [https://en.wikipedia.org/wiki/Setuid Wikipedia : setuid] | |||
* [https://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux/115632#115632 StackExchange : Getting new files to inherit group permissions on Linux] | |||
* [https://unix.stackexchange.com/questions/93868/using-setfacl-to-create-recursive-permissions-for-apache-with-rsync/93871#93871 StackExchange : Using setfacl to create recursive permissions for Apache with rsync] |
Revision as of 14:25, 30 January 2025
Sections here are really just placeholders with enough information to get started on building actual articles...
Better Permissions Handling
12 (bookworm) |
sudo apt install acl
sudo mkdir /FOOBAR
sudo chown -R :users /FOOBAR
sudo chmod -R g+ws /FOOBAR
sudo setfacl -Rdm g:users:rx /FOOBAR
Now, the directory /FOOBAR is writeable by anyone in the users group.