Changes

Jump to: navigation, search

ULI101 Week 4

101 bytes removed, 17:17, 31 August 2017
File Permissions
<pre class="example"> 1 F 0
= 1 15 0= (8)(4)(2)(1) (8)(4)(2)(1) (8)(4)(2)(1)= 0 0 0 1 1 1 1 1 0 0 0 0
= 000111110000 = 111110000
</pre>
-rw-rw---- 1 joe.professor users 0 2006-02-02 10:47 ~/work_together
# This indicates the user “joe.professor” owns the file “work_together”.
# The owner “joe.professor” can read and write to that file.“work_together”# By the way, you joe.professor can change the ownership of files work_together (using the chown command, assuming you own them).
# Let’s look at the detailed listing for a regular file owned by someone else:
-rw-rw---- 1 joe.professor users 0 2006-02-02 10:47 ~/work_together
# This indicates a group name (called “users”) that is assigned to that file “work_together”.# In this case the user “joe.professor” has given permission to other users that belong to theanyone in “users” group# “users” group to read from and write to (incl. delete) the file “work_together”.
[joe.professor] ls -l ~/work_together
# Answer: all “other” users - users that DO NOT belong to the “users” group.!
</pre>
 
= Directory Permissions =
221
edits

Navigation menu