File permissions

From XPUB & Lens-Based wiki
Revision as of 16:59, 30 October 2023 by Manetta (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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