User Tools

Site Tools


permissions

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
permissions [2021/03/09 20:20] – […another way] hc9permissions [2024/09/06 06:17] (current) – no” hc9
Line 7: Line 7:
 ===== Permissions ===== ===== Permissions =====
  
-A Unix file system allows users to assign to files (including directories: "In Unix, Everything Is a File.") they own any combination of three permission types (**r**, **w**, **x**) to three classes of users (**u**, **g**, **o**). When a user requests access to a file, Unix first determines the requester's user class relative to the target file, then checks if the permission type requested has been assigned to that user class.+A Unix file system allows users to assign to files (including directories: In Unix, Everything Is a File.) they own any combination of three permission types (**r**, **w**, **x**) to three classes of users (**u**, **g**, **o**). When a user requests access to a file, Unix first determines the requester's user class relative to the target file, then checks if the permission type requested has been assigned to that user class.
  
 ==== Permission types ==== ==== Permission types ====
Line 160: Line 160:
 ''% chflags uunlnk foo'' ''% chflags uunlnk foo''
  
-would be used to set the user undelete flag, and to disable that flag, simply add "noin front of the option (in this example, uunlnk), like so:+would be used to set the user undelete flag, and to disable that flag, simply add no” in front of the option (in this example, uunlnk), like so:
  
 ''chflags nouunlnk foo'' ''chflags nouunlnk foo''
Line 166: Line 166:
 ---- ----
  
-$Id: permissions.html,v 1.8 2007/10/02 11:22:28 papa Exp $ [[http://sdf.org/?tutorials/permissions|File Permissions]] - legacy link+$Id: permissions.html,v 1.8 2007/10/02 11:22:28 papa Exp $ [[http://sdf.org/?tutorials/permissions|File Permissions]] - traditional link (using [[wp>Revision_Control_System|RCS]])
  
permissions.1615321213.txt.gz · Last modified: 2021/03/09 20:20 by hc9