Changes

Jump to: navigation, search

Linux Permissions

477 bytes added, 11:05, 15 September 2008
Viewing the Permission Mode
You can view the permission on a file using the <code>-1</code> argument to the <code>ls</code> command. You can also view file permissions using most graphical file managers, such as Nautilus (GNOME) or Konqueror (KDE), although you will need to change from the default view settings.
 
= Setting the Permission Mode =
 
Permissions are set from the command line using the <code>chmod</code> command. (You can also change permissions with most graphical file managers).
 
== Setting the Permission in Octal ==
 
To set a permission using an octal value:
 
chmod ''mode'' ''filenames...'''
 
For example,
 
chmod 0751 newscript
 
Which will change the permission mode to rwxr-x--x on the file "newscript".
 
== Setting the Permission using Relative Symbolic Notation ==

Navigation menu