B13 - File System Permissions Flashcards
What are the UNIX file system permission levels?
Owner, Group and Others
What are the UNIX permission types?
r (read), w(write) and e(execute)
What the special permissions on UNIX file systems?
setuid (s on executable files), setgid (s on directories), Sticky bit (t on directories)
How do Windows file system permissions work?
NFTs use a more granular permission model based on Access Control Lists (ACL)
What two accounts on Windows have the same file privileges but have different functions?
System and Administrator
Can windows permissions be inherited from parent directories?
Yes, unless explicitly overridden.
What is the default file system in Windows?
NFTS
What does NFTS do?
Manages file system permissions with an advanced security model through ACLs, enforcing security policies, protecting data integrity, and controlling file/folder access.
A folder has following permissions:
drwxrwxrwt
What does the “t” mean?
Sets the “Sticky” bit
What does the “t” UXIX / Linux file permission mean?
drwxrw–xt
Anyone can execute but can not delete files they don’t own
Which of the following Linux permissions match?
drwxr-x–xt
751
What does the “T” UNIX or Linux file permission represent?
drwxrw–xT
Shows executable bit isn’t set for others (world)
What Linux permissions match “551”?
dr-xr-x–xt
Why are 0666 permissions dangerous?
It grants read and write permission to everyone
A directory is owned by the users group and has a mode of rwxrwxr-t permissions assigned to that group. It also has the Sticky Bit permission set. What
effect does this have on files within the directory?
Users who are members of the users group can only delete files within the directory for which they are the owner