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

Set permissions using symbolic method - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

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…

Contents