You can change file permissions using the
chmod command. In Unix, file permissions, which establish who may have different types of access to a file, are specified by means of
- access classes and
- access types.
Access classes are groups of users, and each may be assigned specific access types.
The access classes are
- user,
- group,
- other, and
- all.
These refer, respectively, to the user who owns the file, a specific group of users, the other remaining users who are not in the group, and all three sets of users. Access types (read, write, and execute) determine what may be done with the file by each access class.