From the course: Learning Linux Command Line
Unlock the full course today
Join today to access over 24,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. rwx or r-xr-x might not make any sense now, but it will soon. The sequence of letters, breaks down into three sections. The first section represents the user designated as the owner of the file. The second section of three letters represents a group, a collection of users for whom we can define specific access to the file. And the third section represents the access to the file for all other users who are not the files owner or who are not in the group designated in the…
Contents
-
-
-
-
-
The Linux file system6m 18s
-
(Locked)
Understanding file paths4m 50s
-
(Locked)
Navigating the file system6m 58s
-
(Locked)
Exploring the output of the ls command2m 33s
-
(Locked)
Create and remove directories3m 36s
-
(Locked)
Copy, move, and delete files and directories7m 53s
-
(Locked)
Find files from the command line2m 10s
-
(Locked)
Understand user roles and sudo6m 3s
-
(Locked)
Understand file permissions5m 57s
-
(Locked)
Modify file permissions7m 4s
-
(Locked)
Create hard and symbolic links3m 26s
-
(Locked)
Challenge: Fix broken syntax26s
-
(Locked)
Solution: Fix broken syntax1m 24s
-
(Locked)
Challenge: Practice working with files34s
-
(Locked)
Solution: Practice working with files32s
-
-
-
-