prefix getacl

Definition

Lists all ACLs for a given prefix.

Usage

$ ozone sh prefix getacl [-hV] [-s=<store>] <value>
Arguments
Parameter Description

value

A prefix URI. It can be a full URI (starts with o3://, e.g. o3://hostname:9862/vol1/bucket1/prefix) or a short URI (starts with a volume name, e.g. vol1/bucket1/prefix). Any missing information is obtained from the configuration files

store

Store type: OZONE or S3

-h, --help

Prints out a help manual for this command

-V, --version

Prints out version information and exits

Examples

Listing all ACLs for a prefix:

$ ozone sh prefix getacl vol1/bucket1/prefix

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" ]
} ]
Found a mistake? Seleсt text and press Ctrl+Enter to report it