Setting file permissions
To change a file's permissions to a specific value, use this command:
% chmod who=value file...where who specifies the type of user that these permissions apply to:
uto change the owner's (``user's'') permissions;
gto change group permissions;
oto change world (``other'') permissions; or
ato change all permissions: owner, group and world.
rfor read permission;
wfor write permission; and
xfor execute permission.
fooso only the user can read and write it:
% chmod u=rw foo
barso anyone can read it, but no one can write or execute it:
% chmod a=r bar
John Shipman, firstname.lastname@example.org
Last updated: 1995/12/04 19:39:34 UT