Manual / chmod
chmod(1)
| CHMOD(1) | General Commands Manual | CHMOD(1) |
NAME
chmod - change file access
SYNOPSIS
chmod +flags file ...
chmod -flags file ...
DESCRIPTION
The mode of each file is changed. Unlike Research Unix, chmod uses ProDOS access flags, not octal modes or owner/group/other permissions. A leading + sets the named bits; a leading - clears them.
For example, chmod -dnw file locks a file against deletion, renaming and writing; chmod +dnw file unlocks it again. Unmentioned bits, file type, auxiliary type and timestamps are preserved. A failed operand is reported and the remaining files are attempted.
FILES
/usr/man/CHMOD this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 if every file succeeds, 1 for access/change failures, 2 for invalid flags or missing operands.
BUGS
Unix rwx and numeric modes are not supported. The leading + or - is required.
| September 19, 2026 | maux |