From the course: Linux: Files and Permissions
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Permissions using symbolic notation - Linux Tutorial
From the course: Linux: Files and Permissions
Permissions using symbolic notation
- [Narrator] There are two different methods of setting permissions in Linux: numeric and symbolic. For this video, let's talk about symbolic mode. When we do a long list with LS, we see several things. We see the permissions, ownership, timestamp, file name, and a few other smaller bits such as size. There are 10 characters on the left-hand side of the listing. The first character shows the type. If it's a hash, it's a file. If it were a director, it would be a letter D. If it were a symbolic link, it would be an L. If it were a character device, a C. A P for a pipe, and a B for a block device. The next nine characters are divided into groups of three. The first group is the user owner of the file. The user owner in this case is user1. The user owner has read, write, and execute. The second group of three is for the group owner. The group owner in this case is accounting. The accounting group has read and execute. The…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Standard Linux permissions overview1m 52s
-
(Locked)
File and directory modes1m 16s
-
(Locked)
File ownership3m 14s
-
(Locked)
Permissions using numeric notation3m 2s
-
(Locked)
Permissions using symbolic notation4m 44s
-
(Locked)
Initial permissions using umask4m 30s
-
(Locked)
Special file bits: SUID and SGID4m 59s
-
(Locked)
Special directory bits: SGID and Sticky5m 53s
-
(Locked)
Challenge: Permissions2m 16s
-
(Locked)
Solution: Permissions4m 19s
-
(Locked)
-
-