chmod
chmod is a command in Unix-like operating systems that changes the file mode bits of files and directories. The mode controls whether a file can be read, written, or executed, and it is defined separately for three classes of users: the owner (user), the group, and others. The execute bit is also used to allow entering directories or executing programs.
Modes can be specified either numerically (octal) or symbolically. An octal mode uses digits representing the
Common usage and options include: chmod mode file... to change one or more items, and -R to
ACLs and other extended permissions may interact with the basic mode bits, providing additional or overriding