There are two different notations for setting permissions in Linux: numeric and symbolic. In numeric mode read has a value of 4, write is equal to 2 and execute is 1. To set permission using numeric mode a user will add up the values and assign the result to user owner, group owner and other using chmod.
- [Instructor] There are two different methods…of setting permissions in Linux.…Numeric, and symbolic.…Let's talk about numeric mode now.…We have three positions in Linux permissions.…User owner,…group owner,…and other.…We can set read, write, and execute permissions…on files and directories.…In numeric mode, we assign a value to each permission…and add the numbers to get the final result.…Read access has a value of four.…
Write access has a value of two.…And Execute is worth one.…To set read, write, and execute for the user owner,…we'd add up four plus two plus one for a total of seven.…To set read and execute for the group owner,…we'd add up four and one for a total of five.…And for other, we don't give any permissions…so we'll set it to zero.…Now we'll use this number in all three positions.…User owner, group owner, and other.…The command we use to set permissions is chmod.…
Or change mode.…The syntax for chmod is,…chmod, space,…options, space,…permissions, space, file name.…Let's go to a terminal…and create a directory for this exercise.…
- Define file Access Control Lists.
- Describe what extended globs add to Linux pattern matching.
- State why file system recovery tools are so important for Linux users.
- Recall what execute permissions on a directory allows.
- Cite the maximum allowed default permissions on a file in Linux.
- List some of the advantages of ACLs over standard Unix permissions.
Skill Level Intermediate
Linux: Desktops and Remote Accesswith Grant McWilliams1h 44m Intermediate
1. Linux Files
2. Manipulate Files
3. Standard Unix Permissions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.