File permissions: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with " ==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")
 
No edit summary
Line 19: Line 19:


  d = directory
  d = directory
[[Category:Cookbook]]
[[Category:Bash]]

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