From the course: Learning Linux Command Line
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Understand file permissions - Linux Tutorial
From the course: Learning Linux Command Line
Understand file permissions
- [Instructor] File permissions are the way we tell the system which users and groups of users are allowed to access any given file and in what ways. When a user tries to access a file, the system consults the permission mode of a file and only allows the user access if they're permitted to have it. At first look, file permissions can seem rather cryptic. We've seen them before when listing files in a directory, but it's not immediately clear what they mean. Rwxrwxrwx may not make any sense right now, but it will soon. This sequence of letters breaks down into three sections. The first section corresponds to the user who is designated as the owner of the file. The second section corresponds to the file's group, a collection of users for whom we can define specific access to the file, and the third section corresponds to the access to the file for all other users who are not the file's owner or are not in the group designated in the group section. Each of the sections of three…
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)
The Linux file system5m 48s
-
(Locked)
Understanding file paths4m 47s
-
(Locked)
Navigating the file system5m 42s
-
(Locked)
Finding directory and file information4m 46s
-
(Locked)
Create and remove directories3m 47s
-
(Locked)
Copy, move, and delete files and directories8m 50s
-
(Locked)
Find files from the command line2m 29s
-
(Locked)
Understand user roles and sudo6m 7s
-
(Locked)
Understand file permissions6m 16s
-
(Locked)
Modify file permissions8m 9s
-
(Locked)
Create hard and symbolic links3m 53s
-
(Locked)
Challenge: Fix broken syntax20s
-
(Locked)
Solution: Fix broken syntax1m 7s
-
(Locked)
Challenge: Practice working with files29s
-
(Locked)
Solution: Practice working with files24s
-
(Locked)
-
-
-