From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Set permissions using symbolic method - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
Set permissions using symbolic method
- [Instructor] There are two different methods of setting permissions in Linux; numeric and symbolic mode. Let's talk about symbolic mode. 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 symbolic mode, we assign a value to each position using symbolic representation of the desired permissions. To set read, write, and execute for the user owner, we just specify u equals rwx. To set read and execute for the group owner, we'd use g equals rx. To set permission to nothing for other, just do o equals with nothing after it. To set permission for multiple positions at one time, just separate them with a comma. For instance, u equals rwx comma g equals rx comma o equals. With symbolic method, we can also add permissions by changing the equal sign to a plus. To add rwx for the user, we would use u plus rwx. To subtract…
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)
Create and delete local user accounts4m 27s
-
(Locked)
Modify local user accounts4m 57s
-
(Locked)
Manage user passwords4m 15s
-
(Locked)
What is a file?2m 10s
-
(Locked)
Get file attributes3m 41s
-
(Locked)
Get extended attributes4m 13s
-
(Locked)
About standard Linux permissions1m 47s
-
(Locked)
File and directory modes1m 19s
-
(Locked)
File ownership4m 34s
-
(Locked)
Set permissions using numeric method3m 13s
-
(Locked)
Set permissions using symbolic method5m 16s
-
(Locked)
Default permissions using umask5m 51s
-
(Locked)
Special file bits: SUID and SGID3m 49s
-
(Locked)
Special directory bits: SGID and Sticky6m 26s
-
(Locked)
-
-