File permissions: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
[[Category:Cookbook]] | [[Category:Cookbook]] | ||
Latest revision as of 16:59, 30 October 2023
change ownership
$ chown -R USERNAME:GROUPNAME foldername
change rwx permissions
$ chmod -R rwx+ugo foldername
r = read w = write x = execute u = user g = group o = others
drwxrwxrwx u g o
d = directory