User's Guide for MS-DOS Clients
191
Enhanced Reference
Command and Utility Summary
user#
Represents the access permission value for the owner of the file or directory.
Replace user# with the sum of any combination of the following values: 4 (for
read), 2 (for write), 1 (for execute).
group#
Represents the access permission value for the group. Replace group# with the
sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for
execute).
other#
Represents the access permission value for other users. Replace other# with the
sum of any combination of the following values: 4 (for read), 2 (for write), 1 (for
execute).
Comments
To access the uchmod command, first link to the DOSUTIL shared directory
on a LAN Manager for UNIX Systems server. For example:
net use d: \\server1.serve\dosutil
Examples
• You want to change the group (g) and other (o) access permissions of the file
example to read-only. The UNIX system access permissions for example are
currently read, write, and execute for user, group, and other (rwxrwxrwx). You
type:
uchmod go-wx example
This changes the access permissions to rwxr--r--.
• You want to change the user (u) access permissions of the file two to read and
execute. The UNIX system access permissions for two are currently read-only for
user, group, and other (--x--x--x). You type:
uchmod u+r two
This changes the access permissions to r-x--x--x.
• You want to change the other (o) access permissions of the file list to execute
only. The UNIX system access permissions for list are currently read-only for
user, group, and other (r--r--r--). You type:
uchmod o=x list