pavement

Chmod

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by 217.72.199.106 (Talk); changed back to last version by Jimbo)
Line 1: Line 1:
 +
http://www.textcnaelb.com
 
[[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)''':
 
[[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
 
  samizdata# chmod 777 /home/dave/file.txt

Revision as of 18:37, 26 April 2009

http://www.textcnaelb.com 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