Learn how to issue commands to modify the permissions of a file or directory so that users can read, write, or execute them.
- [Instructor] Now that we understand … alpha and octal notation for permissions, … we're ready to set them in Unix. … Remember, alpha notation uses r, w, and x … as a series of nine characters to say … whether something has read, write, or execute permission … for the user, group, and other categories. … The way that we would change those permissions … is using the chmod command. … That's c-h-m-o-d, and it's short for change mode. … So I guess you could also pronounce it as "chi-mode" … if you prefer, but I call it "chi-mod". … You'll see that right after the command, … I have notation for the groups that I want to set. … In this case, I've got u, g, and o, … and I'm setting it equal to r, w, and x. … And then I've got the path to the target file or directory. … So in this case, I'm setting user, group, and other, … all to have read, write, and execute permissions. … Now I don't have to set them all to the same thing. … I can also put commas between the list. … So here I'm setting user equal to read, write, and execute, …
Skill Level Intermediate
1. Introduction to Unix
2. Files and Directories
3. Ownership and Permissions
4. Commands and Processes
5. Directing Input and Output
6. Configure Your Working Environment
- 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.