|
|
HP-UX Reference > Ddoschmod(1)TO BE OBSOLETEDHP-UX 11i Version 2: December 2007 Update |
|
NAMEdoschmod — change attributes of a DOS file DESCRIPTIONThe doschmod command is targeted for removal from HP-UX; see the WARNINGS below. doschmod is the DOS counterpart of chmod (see chmod(1)). Optionsdoschmod recognizes one option:
A DOS file name is recognized by the presence of an embedded colon (:) delimiter; see dosif(4) for DOS file naming conventions. Metacharacters *, ?, and [ ... ] can be used when specifying DOS file names. These must be quoted when specifying a DOS file name, because file name expansion must be performed by the DOS utilities, not by the shell. DOS utilities expand file names as described in regexp(5) under PATTERN MATCHING NOTATION. The attributes of each named file are changed according to mode, which is an octal number in the range 000 to 0377. mode is constructed from the logical OR of the following modes:
WARNINGSUse of doschmod is discouraged because it is targeted for removal from HP-UX. Specifying inappropriate mode values can make files and/or directories inaccessible, and in certain cases can damage the file system. To prevent such problems, do not change the mode of directories and volume labels. Normal users should have no need to use mode bits other than 001, 002, and 040. |
|