Thursday, 26 June 2014

Setting permissions in Linux



Set the permissions of folder in path to be read/write for usergroup groupname for this folder and current and future containing files:

sudo setfacl -Rdm g:groupname:rwx /path/folder

Alternatively set ownership using chown:

sudo chown username filename

Now check privilages using ls -l

No comments:

Post a Comment