Manage File Permissions and Ownershop Flashcards
File Permissions and Ownership
User ID - unique for each user on each system
UID
File Permissions and Ownership
Group ID - unique for each group on each system
GID
File Permissions and Ownership
set in 3x3 groups for each file and directory
permissions
File Permissions and Ownership
set in 3 numbers for each file and directory
permissions
permission types
read/write/execute permissions for user, group, and everyone
[owner rwx] [group rwx][everyone rwx]
symbolic permissions
permission types
read/write/execute permissions for user, group and everyone
[owner #][group #][everyone #]
numeric permissions
permission mapping symbolic
read (view directory contents but not file attributes)
r
permission mapping symbolic
write (add, delete files - including ones you do not own if you have write priv on directory)
w
permission mapping symbolic
execute - can navigate to the directory [cd]
x
permission mapping Numeric
read - view directory contents but not file attributes
4
permission mapping Numeric
write - add and delete files including ones you do not own if you have write priv
2
permission mapping Numeric
execute - can navigate to directory [cd or changedir]
1
symbolic option type
normal file
–
symbolic option type
symlink
l
symbolic option type
block device like a disk
b
symbolic option type
character device
c
symbolic option type
directory
d
permission hierarchy
if user is owner of file
OWNER permissions apply