Class 9 Quiz Flashcards
By default, which account is the owner of a file or directory?
the account that created it
Name the three types of access permissions.
read, write and execute
Name the three categories of accounts which are used in assigning access permissions.
owner, group, everyone else
Who can change the access permissions on a file or directory?
only the owner
What would you enter on the command line if you wanted to see the access permissions of entries in your current directory?
ls -l
What is the name of the command you would use to change the access permissions for a file or directory?
chmod
Three numbers can be used to specify access permissions when using the command above. Each of these numbers can only be in a certain range. What is the maximum and minimum for each of these three numbers?
0 to 7
If the file work.shhas the permissions given below, what could the owner of the file do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh
read, write and execute
If the file work.shhas the permissions given below, what could the group do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh
read and execute
If the file work.shhas the permissions given below, what could everyone else do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh
only execute