7. File Perminsions and Ownership Flashcards
What do read permissions grant you?
Reading or viewing the content of a file or directory
What do write permissions grant you?
modifying or deleting a file or directory and its contents
What does the execute permission grant you?
Executing a file or accessing the contents of a directory for directories
What command is used to change the permission of a file or directory?
chmod
Explain how permission modification is done symbolically.
person(s)_involved +/- rwx(this could be any one or more of these characters) filename.txt
Persons_involved:
* u, for the owner
* g, for the group
* o, for others
+ to add permission(s)
- to remove permission(s)
rwx, permission(s) to be added or removed (granted or revoked)
There for example:chmod u+rwx filename.ext
=> will grant read, write, and execute permission to the owner of the file