Chmod: Difference between revisions

From Hackepedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
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 03: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.