Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
chmod(1) OSS Shell and Utilities Reference Manual
subprocess that runs cmd are changed. The effective IDs of the shell session remain
unchanged.
This feature allows you to permit restricted access to important files. Suppose the file
cmd has the set-user-ID mode enabled and is owned by a user called dbms. dbms is not
actually a person but might be associated with a database management system. The user
betty does not have permission to access any of dbms’s data files. However, she does
have permission to execute cmd. When she does so, her effective user ID is temporarily
changed to dbms, so that the cmd program can access the data files owned by dbms.
This way betty can use cmd to access the data files, but she cannot accidentally damage
them with the standard shell commands.
5. To use the absolute mode form of the chmod command, enter:
chmod 644 text
This command sets read and write permission for the owner, and it sets read-only mode
for the group and all others.
NOTES
Because /G and /E both appear in your local root directory, you should be very careful when
using OSS shell commands on or from the root directory. OSS shell commands that perform
recursive actions make no distinction between Guardian and OSS files or between local and
remote files. You can use the -W NOG and -W NOE flags or the UTILSGE environment vari-
able to exclude objects in the Guardian file system or objects accessible through the Expand pro-
duct.
RELATED INFORMATION
Commands: chgrp(1), chown(1), ls(1), sh(1).
STANDARDS CONFORMANCE
The -W NOG and -W NOE flags and the UTILSGE environment variable are HP extensions to
the XPG4 Version 2 specification.
2−44 Hewlett-Packard Company 527188-003