Permissions & Ownership
Control who can read, write and execute โ the traditional and ACL permission models.
6 commands in this section.
chgrp
Beginner
Change the group that owns a file or directory.
chgrp [options] group file
chmod
Beginner
Change file and directory permissions.
chmod [options] mode file
chown
Beginner
Change the owning user (and optionally group) of a file.
chown [options] user[:group] file
getfacl
Intermediate
Display the Access Control List of a file or directory.
getfacl file
setfacl
Advanced
Set fine-grained Access Control List permissions.
setfacl [options] rule file
umask
Intermediate
View or set the default permission mask for new files.
umask [mode]