From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Linux permissions, part 3

Linux permissions, part 3

- [Instructor] So, read on a directory doesn't mean that you can read the contents of files in the directory. It simply means that you can list the files in the directory. The owner and group owner permissions will determine whether you can read the contents and modify the contents of a file, and not the read permissions of the directory. Read permissions on a directory allows you to list the files in a directory. Read permissions on a file will allow you to read the contents of a file. If you have write permissions to a file, that means that you can modify the file. Write permissions on a directory, however, means that you can create or delete files in a directory. So again, there's a difference between write on a file and write permissions on a directory. Write permissions on a file means that you can modify the file. Write permissions on a directory means that you can create new files or delete files in the directory. Execute on a file means that you can run the file, in other…

Contents