maux
Star on GitHub Buy me a coffee

Manual / chmod

chmod(1)

CHMOD(1) General Commands Manual CHMOD(1)

chmod - change file access

chmod +flags file ...
chmod -flags file ...

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.

Read enabled.
Write enabled.
Destroy enabled.
Rename enabled.
Backup needed.

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.

/usr/man/CHMOD this page

ls(1), licenses(1)

Exit status is 0 if every file succeeds, 1 for access/change failures, 2 for invalid flags or missing operands.

Unix rwx and numeric modes are not supported. The leading + or - is required.

September 19, 2026 maux