TutorialPedia.org
Toggle Menu
Home
Online Go Compiler
Tutorials
JavaScript Tutorials
Golang Tutorials
Linux Command Line Tutorials
Blog
All Posts
Linux File and Permission Management
Review your understanding of file systems,permissions,and ownership in Linux.
1. What does the 'x' (execute) permission allow for a directory?
Read the directory's contents
Write new files to the directory
Access the directory's contents (e.g., cd into it)
Delete files within the directory
2. Which permission bits are enabled for the group owner in a file with mode '755'?
Read (r)
Write (w)
Execute (x)
3. A file with permission mode '000' (no permissions) can be modified by its owner.
True
False
4. What command is used to change the owner of a file? (full name)
5. In the permission string '-rw-r--r--', how many users can write to the file?
0
1
2
3
6. Which numerical permission values are valid for a directory that should be readable, writable, and executable by the owner, and readable/executable by others?
705
755
711
644
7. The 'chmod u+x file' command adds execute permission for the group owner.
True
False
8. What is the three-character symbolic representation for the permission mode '640'?
9. Which option in the 'chmod' command recursively changes permissions for directories and their contents?
-r
-R
-a
-d
10. Which statements about file ownership in Linux are true?
A file's owner can always change its permissions
Only root can change the owner of a file
A user can change the group of a file to any group they belong to
The group owner of a file must be a group the owner belongs to
Reset
Answered 0 of 0 — 0 correct