Linux Permissions

From James's Wiki
Revision as of 00:59, 18 July 2024 by Ractive (talk | contribs)

https://www.geeksforgeeks.org/linux-setfacl-command-with-example/

create a new group

sudo groupadd mynewgroup

view groups of a user

groups exampleusername

show ids associated with groups etc

id exampleusername

add user to group

usermod -a -G examplegroup exampleusername

give group seedbox rwx permission for /media/seedbox

setfacl -m g:seedbox:rwx /media/seedbox/

show facl info

getfacl /media/seedbox/