04 Permissions Flashcards
(45 cards)
What are the three (3) group permissions?
Owner
Group
All Users
What are the three (3) permission types?
Read
Write
Execute
Permission type that allows the user to view the contents of the file.
Read
Permission type that allows the user to modify a file or directory.
Write
Permission type that allows the user to run a file or view the contents of a directory.
Execute
What are the permission commands? (8)
id
chmod
umask
su
sudo
chown
chgrp
passwd
Permission command that displays user identity.
id
Permission command that allows you to modify the access rights of a file/directory.
chmod
Permission command that sets the default file permissions.
umask
Permission command that allows you to temporarily become the superuser.
su
Permission command that allows you to execute a command as another user.
sudo
Permission command that allows you to change a file’s ownership.
chown
Permission command that allows you to change a file’s group ownership.
chgrp
Permission command that allows you to change a user’s password.
passwd
What are the attributes for common file types?
-
d
l
c
b
Attribute that represents a regular file type.
-
Attribute that represents a directory type.
d
Attribute that represents a symbolic link.
l
Attribute that represents a character special file type.
c
Attribute that represents a block special file type.
b
This file type refers to a device that handles data as a stream of bytes, such as terminal or modem.
Character special file
This file type refers to a device that handles data in blocks, such as hard-drive or CD-ROM.
Block special file
What is the file permission value if it sets no restriction on permissions and anybody can do anything?
777 (rwxrwxrwx)
What is the file permission value if the file’s owner may read, write, and execute the file; all other may read and execute the file?
755 (rwxr-xr-x)