mchmod(1)
okay bestie, welcome to mchmod(1) from the Manta Commands lineup β the page that teaches you how to change object role tags, and yes we're keeping every single flag, env var, example, and warning. π
β¨ no cap.
πΈ NAME πΈ
mchmod β change object role tags.
π¦ SYNOPSIS π¦
mchmod [OPTION...] -- [+-=]ROLE,... OBJECT
π DESCRIPTION π
mchmod sets the role tags on an object or directory. Role tags are used to determine which of a user's roles will be checked to allow access. π
tiny note from the source: in order to usemchmod +ROLEormchmode -ROLEyou will need access to read and write object metadata. Usingmchmod =ROLEonly requires write access. also yes, the original page literally spells itmchmodethere, so we're preserving that exact spelling β no autocorrect energy, iykyk. π
β¨ EXAMPLES β¨
$ mchmod -- +read ~~/stor/foo.txt
$ mchmod -- -read,write ~~/stor/foo.txt
$ mchmod -a other_account -- =read ~~/stor/foot.txt
π OPTIONS π
-a,--accountlogin β Authenticate as account (login name).-h,--helpβ Print a help message and exit.-i,--insecureβ This option explicitly allows "insecure" SSL connections and transfers. All SSL connections are attempted to be made secure by using the CA certificate bundle installed by default.-k,--keyfingerprint β Authenticate using the SSH key described by FINGERPRINT. The key must either be in~/.sshor loaded in the SSH agent viassh-add.--roleβ Specify which roles to assume for the request.-u,--urlurl β Manta base URL (such ashttps://us-central.manta.mnx.io).--useruser β Authenticate as user under account.-v,--verboseβ Print debug output to stderr. Repeat option to increase verbosity.
π ENVIRONMENT π
MANTA_USERβ In place of-a,--account.MANTA_SUBUSERβ In place of--user.MANTA_KEY_IDβ In place of-k,--key.MANTA_URLβ In place of-u,--url.MANTA_TLS_INSECUREβ In place of-i,--insecure.MANTA_ROLEβ In place of--role.
The shortcut ~~ is equivalent to /:login where :login is the account login name. π«Ά
π DIAGNOSTICS π
When using the -v option, diagnostics will be sent to stderr in bunyan output format. As an example of tracing all information about a request, try:
$ mchmod -v ~~/stor/foo 2>&1 | bunyan
π BUGS π
DSA keys do not work when loaded via the SSH agent.
Report bugs at Github β¨https://github.com/TritonDataCenter/node-manta/issuesβ©.
that's the whole page, bestie β brought to you by Manta, August 2014, and mchmod(1), periodt. πβ¨
π¦ where this page comes from
- nixos 26.05: manta 5.4.2
- nixpkgs unstable: manta 5.4.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms