Managing File Ownership Flashcards
chmod
Changes assigned permissions; uses 2 different modes, symbol and octal
symbolic mode
denote permissions using a letter code
what are the symbolic mode tiers
u owner, g group, o others, a all tiers
octal mode
nine permission bits are represented as three octal numbers
chown
changes a files owner, needs # or sudo
chgrp
changes files group, needs # or sudo
read
read/view data in a file, list files in directory
write
modify data in file, create, modify, delete, move files in directory
execute
run file as script or binary, can change pwd to this location
what are the 3 special permission bits that linux uses for controlling advanced behavior of files and directories
SUID, SGID, sticky bit
the Set User ID (SUID) tells the Linux Kernel to?
run the program with the permissions of the file owner and not the user account actually running the file
the SUID bit is indicated by an s in the place of?
the execute permission letter for the file owner: rwsr-xr-x
If the SUID bit is set on a file that doesn’t have execute permission for the owner, it’s indicated by a?
capital S