Monday, June 10, 2019

creating group, adding a user to group, granting permissions to group

creating groups:
sudo groupadd editorial

add user to group:
sudo usermod -a -G editorial olivia

https://www.techrepublic.com/article/how-to-create-users-and-groups-in-linux-from-the-command-line/


granting write permissions to a group to a folder

setfacl -m g:debian-transmission:rwx -R /mnt/sra
to check:
getfacl /mnt/sra

https://unix.stackexchange.com/questions/116070/granting-write-permissions-to-a-group-to-a-folder

No comments:

Post a Comment