chmod

    chmod command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    107

    #chmod

    Change file permissions for MoonX.

    moonx cli/chmod@0.2.3 [-R] [-v] MODE FILE...

    #Supported scope

    Set numeric modes on POSIX hosts. Complete symbolic assignments such as u=rw,g=r,o= are supported for regular files.

    #Options

    OptionDescription
    MODEOctal mode, or an explicit = assignment covering u, g and o.
    -R, --recursiveProcess directory contents recursively.
    -v, --verboseDescribe processed entries.
    --help / --versionShow help / package version.

    #Limitations

    • Windows permission changes and --reference are unsupported.
    • Symbolic modes reject incremental +/-, omitted classes, X/s/t, permission copies, directories and symlinks.
    • Recursive walks skip encountered links; a command-line directory link changes only its target directory's mode.

    #Examples

    moonx cli/chmod@0.2.3 644 report.txt moonx cli/chmod@0.2.3 u=rw,g=r,o= report.txt

    Source Files