Difference between revisions of "Quick Notes"
Jump to navigation
Jump to search
(Created page with "= Better Permissions Handling = * <code>sudo apt install acl</code> * <code>sudo mkdir /FOOBAR</code> * <code>sudo chown :users /FOOBAR</code> * <code>sudo chmod g+ws /FOOBAR</code> * <code>sudo setfacl -Rdm g:users:rx /FOOBAR</code> Now, the directory '''/FOOBAR''' is writeable by anyone in the '''users''' group") |
|||
Line 6: | Line 6: | ||
* <code>sudo chmod g+ws /FOOBAR</code> | * <code>sudo chmod g+ws /FOOBAR</code> | ||
* <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. |
Revision as of 22:57, 29 January 2025
Better Permissions Handling
sudo apt install acl
sudo mkdir /FOOBAR
sudo chown :users /FOOBAR
sudo chmod g+ws /FOOBAR
sudo setfacl -Rdm g:users:rx /FOOBAR
Now, the directory /FOOBAR is writeable by anyone in the users group.