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

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…

Contents