bucket getacl
Contents
Usage
$ ozone sh bucket getacl [-hV] [--source] [-s=<store>] <value>
Parameter | Description |
---|---|
value |
A bucket URI. It can be a full URI (starts with |
store |
Store type: |
--source |
Specifies wether to display the ACL of a link bucket ( |
-h, --help |
Prints out a help manual for this command |
-V, --version |
Prints out version information and exits |
Examples
Listing all ACLs for a source bucket:
$ ozone sh bucket getacl --source=true vol1/bucket2
The output depends on the present ACLs, but should be similar to this:
[ {
"type" : "USER",
"name" : "s_tikhomirov_krb1@AD.RANGER-TEST",
"aclScope" : "ACCESS",
"aclList" : [ "ALL" ]
}, {
"type" : "USER",
"name" : "sergei",
"aclScope" : "ACCESS",
"aclList" : [ "LIST", "ALL" ]
} ]