Lecture 11 Flashcards
FILE SYSTEMS PERMISSION AND UTILITIES
Files and directories are found
through their
path name
path name
describe where a particular file or directory can be found
two methods of controlling who can access a file and how
they can access it
traditional access permissions and ACLs (Access Control Lists
Three types of users can access a file
owner/user, group and other(everyone else)
command to see permissions for files
ls -l
chmod access for all users
a
chmod access for group
g
chmod access for other
o
chmod access for user
u
adding r and removing rx chmod access respectively
+r and -rx
chmod numeric arguments: absolute or relative
absolute
chmod Octal 2: Binary and Permission
010: -w-
chmod Octal 1: Binary and Permission
001: –x
chmod Octal 3: Binary and Permission
011: -wx
chmod Octal 4: Binary and Permission
100: r–
chmod Octal 5: Binary and Permission
101: r-x
chmod Octal 6: Binary and Permission
110: rw-
chmod Octal 7: Binary and Permission
111: rwx