[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slackbook:filesystem_permissions [2012/09/09 15:19 (UTC)] – [SUID, SGID, and the Sticky Bit] added navigation section mfillpotslackbook:filesystem_permissions [2012/10/15 20:16 (UTC)] – [Permissions Overview] fixed minor typo gerardo.zamudio
Line 36: Line 36:
 |Others |r-x |Everyone else may read and execute| |Others |r-x |Everyone else may read and execute|
  
-he permissions are pretty self explainatory of course, at least for+The permissions are pretty self explanatory of course, at least for
 files. Read, write, and execute allow you to read a file, write to it, files. Read, write, and execute allow you to read a file, write to it,
 or execute it. But what do these permissions mean for directories? or execute it. But what do these permissions mean for directories?
Line 184: Line 184:
  
 **//chmod//** can also use letter values along with **//chmod//** can also use letter values along with
-<key>+</key> or <key>-</key> to grant or deny permissions.+<key>'+'</key> or <key>Minus</key> to grant or deny permissions.
 While this may be easier to While this may be easier to
 remember, it's often easier to use the octal permissions.  remember, it's often easier to use the octal permissions. 
Line 261: Line 261:
  
 Notice the permissions on **//passwd//**. Instead of Notice the permissions on **//passwd//**. Instead of
-an <key>x</key> in the user's execute slot, we have an +an <key>'x'</key> in the user's execute slot, we have an 
-<key>s</key>. This tells us that+<key>'s'</key>. This tells us that
 **//passwd//** is a SUID program, and when we run **//passwd//** is a SUID program, and when we run
 it, the process will run as the user //"root"// rather than as the user it, the process will run as the user //"root"// rather than as the user
Line 293: Line 293:
 file or two stored here at any time, it only makes good sense to file or two stored here at any time, it only makes good sense to
 prevent other users from deleting those files, so the sticky bit has prevent other users from deleting those files, so the sticky bit has
-been set. You can see it by the presence of the <key>t</key> in +been set. You can see it by the presence of the <key>'t'</key> in 
-place of the <key>x</key> in the world permissions section.+place of the <key>'x'</key> in the world permissions section.
  
  
Line 334: Line 334:
 ====== Sources ====== ====== Sources ======
 <!-- If you copy information from another source, then specify that source --> <!-- If you copy information from another source, then specify that source -->
- * Original source: [[http://www.slackbook.org/beta/]] +  * Original source: [[http://www.slackbook.org/beta]] \\
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-<!-- * Originally written by [[wiki:user:xxx | User X]] -->+  * Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson
 <!-- * Contrbutions by [[wiki:user:yyy | User Y]] --> <!-- * Contrbutions by [[wiki:user:yyy | User Y]] -->
  
 slackbook:filesystem_permissions ()