Changes

Jump to: navigation, search
INVESTIGATION 2: FILE PERMISSIONS
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls -l ~/shared</span><br><br>What are the permissions for this newly-created directory? Can other users access the directory pathname '''~youruserid/shared''' ?<br><br>
# Issue the following Linux command (without an argument): <span style="color:blue;font-weight:bold;font-family:courier;">umask</span><br><br>'''NOTE:''' You should see a '''four-digit octal''' number. Drop the leading zero on the left to obtain the '''default umask value'''.<br><br>
# Perform a mathematical calculation by taking the octal number '''777 ''' and subtracting the default umask value you determined in the previous step.<br>What is the result?<br><br>
# Convert that octal number result to a '''binary''' number. What does that represent as newly created directory permissions?<br>Does that correspond to the permissions for the newly created '''~/shared''' directory?<br><br>
# x
13,420
edits

Navigation menu