课程: Learning Linux Command Line

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Understand file permissions

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…

内容