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
permissions [2021/03/12 18:42] – [File Flags] 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''
permissions.1615574532.txt.gz · Last modified: 2021/03/12 18:42 by hc9