Changes

Jump to: navigation, search
INVESTIGATION 2: FILE PERMISSIONS
# Issue the following Linux commands:<br><span style="color:blue;font-weight:bold;font-family:courier;">ls -ld ~/documents ~/clients ~/vendors<br>ls -lR ~/documents ~/clients ~/vendors</span><br><br>'''NOTE:''' You should see permissions already set for those newly created directories and regular files. What do these permissions mean for '''same group member''' and '''other group member''' access to those directory and regular files?<br><br>
# Let's limit access to the '''clients''' and '''vendors''' directories to only yourself and same group members. Issue the following Linux command:<br><span style="color:blue;font-weight:bold;font-family:courier;">chmod 750 ~/clients ~/vendors</span><br><br>
# Issue the '''ls''' command to confirm that the permissions for those directories have been changed.<br><br>'''NOTE:''' The '''-R''' option for the '''chmod ''' command can change the file permissions <u>recursively</u> within a directory structure.<br><br>
# Issue the following Linux command:<span style="color:blue;font-weight:bold;font-family:courier;">chmod 750 -R documents</span><br><br>
# Again, use the ls command to confirm the permissions for the '''documents''', '''reports''', and '''contract''' directories.<br><br>
13,420
edits

Navigation menu