next up previous

1.5.6 chmod

Can be used to change protections in this manner: user, group, other + (to add the permission ) or - (to take it away) read, write, e xecute.

Examples
chmod ug+r READTHIS
gives the user and your group the permission to read the file in the current working directory named READTHIS.
chmod o-rwx MINE.m
takes away the permission of all others to read, write, and execute the file MINE.m in the current working directory.