Managing File Ownership and Permission Flashcards
Which command allows you to change a folders ownership?
chown
Which command allows you to change a files ownership?
chgrp
What is the permissions for a directory that has the following permission string:
rwxrwxrwx
Read/Write/Execute for all users.
What is the permissions for a directory that has the following permission string:
rwxr—x———
Read and execute permission for the owner and
group. The file’s owner also has write permission.
Other users have no access to the file
What is the permissions for a directory that has the following permission string:
rw—r—r—
Read and write permissions for the owner.
Read-only permission for all others
What is the permissions for a directory that has the following permission string:
r———————
Read permission for the owner. No permission for
anybody else
What is the 3-digit code for rwxrwxrwx?
777
rwxr—x———?
750
What is the permissions for a directory that has the following permission string:
rw—r—r—?
644
What is the permissions for a directory that has the following permission string:
r———————?
400