Change file mode bits (simulated).

Synopsis

chmod [OPTION]... MODE[,MODE]... FILE...

Description

Change the file mode (permission) bits of files or directories. Runs in the just-bash WASM shell inside SLICC. Permissions are tracked in metadata but not enforced at the filesystem level.

Options

-R, --recursive Change files and directories recursively.

-v, --verbose Output a diagnostic for every file processed.

--help Display help and exit.

Examples

$ chmod 755 script.sh

Set permissions to rwxr-xr-x.

$ chmod +x run.sh

Add execute permission.

Notes

Operates on the SLICC virtual filesystem (LightningFS/IndexedDB). Permissions are stored in file metadata but not enforced — all files are readable and writable regardless of mode bits. Accepts both octal (755) and symbolic (+x, u+rw) modes.

See Also

stat, ls