Difference between revisions of "Chmod"

From Hackepedia
Jump to navigationJump to search
m
m
Line 1: Line 1:
Change the mode of a [[file]] or [[filesystem]] object.  You can use a human readable format or the octal [[permission|permissions]] modes.
+
Change the mode of a [[file]] or [[filesystem]] object.  You can use a human readable format or the octal [[permissions|permission]] modes.
  
 
  chmod 755 directory
 
  chmod 755 directory

Revision as of 04:50, 24 May 2008

Change the mode of a file or filesystem object. You can use a human readable format or the octal permission modes.

chmod 755 directory
chmod u+s file
chmod +x script.sh

See the manual page of chmod to find further information.