setdirmode(1M) DG/UX B2 Security R4.12MU02 setdirmode(1M)
NAME
setdirmode - set the directory mode
SYNOPSIS
setdirmode [-q] {-r|-v}
DESCRIPTION
This command is used to set the directory mode of the invoking
process (that is, to change the mode of the process that forked and
exec'ed this command, e.g., a shell). This command will fail if the
process is in real directory mode and tries to change to virtual
directory mode while its current working directory is a MLD (parent
directory of a multilevel directory structure).
Options
-q Stop setdirmode from writing diagnostic messages. The usage
error is always written.
-r Set real mode.
-v Set virtual mode.
EXAMPLES
$ su
# setdirmode -r
# getdirmode
real
# setdirmode -v
# getdirmode
virtual
SEE ALSO
getdirmode(1), getmac(1), mkmldir(1M), dg_getdirmode(2),
dg_setdirmode(2).
NOTES
The invoking process must have appropriate privilege to set the
directory mode.
Licensed material--property of copyright holder(s)