pavement

Chmod

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
m (Reverted edits by 201.55.193.6 (Talk); changed back to last version by Jimbo)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
Permissions can be defined numerically or symbolically, but there's more info on that at the [[permissions]] page.
 
Permissions can be defined numerically or symbolically, but there's more info on that at the [[permissions]] page.
 +
 +
[[Category:System Commands]]

Latest revision as of 23:27, 26 April 2009

chmod -- short for "change mode" -- changes a file's permissions, or "mode". You can make a file readable, writeable and executable for the file's owner, group and world ("other"). The format is chmod (permissions) (file):

samizdata# chmod 777 /home/dave/file.txt

Permissions can be defined numerically or symbolically, but there's more info on that at the permissions page.

Personal tools