mput(1)
π
mput(1) β Manta Commands π
β¨ NAME β¨
okay so the NAME line says mchattr β change object attributes. (yes bestie, the page is mput(1) but the command in here is mchattr β thatβs literally what the page says π)
πΈ SYNOPSIS πΈ
mchattr [OPTION...] OBJECT
π¦ DESCRIPTION π¦
mchattr changes attributes of an object. Running mchattr only changes metadata about the object (i.e., HTTP headers). Running mchattr completely replaces all modifiable HTTP headers, so you must specify the complete set upon running. like, full replacement energy β not a tiny patch vibe.
heads up, bestie: you are not permitted to update βcoreβ headers, such asdurability-level,content-length, andcontent-md5. You can updatecontent-type,m-*and CORS headers. no cap.
π EXAMPLES π
$ mchattr -H m-foo:bar ~~/stor/foo.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.-H,--headerβ set the specified HTTP header.-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=ROLE,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 tostderr. 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_ROLEβ in place of--role.MANTA_URLβ in place of-u,--url.MANTA_TLS_INSECUREβ in place of-i,--insecure.
The shortcut ~~ is equivalent to /:login where :login is the account login name. iconic little shortcut tbh π«Ά
β 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:
$ mchattr -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β©
xoxo, Manta π β May 2013 β mput(1) β¨
π¦ 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