Skip to content

List ACLs by node UUID

Synopsis

DESCRIPTION

1
2
List ACLs attached to one or more given nodes, and optionally delete them afterward. 
Can be handy for debugging purposes.

EXAMPLE

Given this listing in "test" workspace:

$./cec ls -d test
Found 4 nodes at test:
+--------+--------------------------------------+-----------+--------+-------------+
| TYPE | UUID | NAME | SIZE | MODIFIED |
+--------+--------------------------------------+-----------+--------+-------------+
| Folder | 8ec79c1e-2464-40d0-a762-c36d8a9e5886 | . | 2.6 MB | 2 years ago |
| File | 1c989848-5eff-49cf-8727-4db754e02c25 | buro4.jpg | 541 kB | 2 years ago |
| File | d796d7c5-dce9-4994-bca3-3cf03c27c39d | büro1.jpg | 1.0 MB | 2 years ago |
| File | 15f09f59-9171-4e25-809a-488e475dafa4 | büro2.jpg | 996 kB | 2 years ago |
+--------+--------------------------------------+-----------+--------+-------------+

List ACLs for file "buro4.txt":

./cec idm list-acls --uuid 1c989848-5eff-49cf-8727-4db754e02c25

List ACLs for multiple files:

./cec idm list-acls -n 1c989848-5eff-49cf-8727-4db754e02c25 -n d796d7c5-dce9-4994-bca3-3cf03c27c39d

Delete all ACLs on a given node

./cec idm list-acls -n 1c989848-5eff-49cf-8727-4db754e02c25 --delete

./cec idm list-acls [flags]

Options

1
2
3
      --delete         Delete all found ACLs
  -h, --help           help for list-acls
  -n, --uuid strings   Search by node UUID, can be used multiple times

Options inherited from parent commands

1
2
3
4
5
6
7
8
9
      --config string     Location of Cells Client's config files (default: /home/teamcity/.config/pydio/cells-client/config.json)
      --log string        change log level (default: info) (default "info")
      --login string      The user login, for Client auth only
      --no-cache          Force token refresh at each call. This might slow down scripts with many calls
      --password string   The user password, for Client auth only
      --skip-keyring      Explicitly tell the tool to *NOT* try to use a keyring, even if present. Warning: sensitive information will be stored in clear text
      --skip-verify       By default the Cells Client verifies the validity of TLS certificates for each communication. This option skips TLS certificate verification
  -t, --token string      A valid Personal Access Token (PAT)
  -u, --url string        The full URL of the target server

SEE ALSO


Auto generated by Cells Client v4.2.1 on 4-Nov-2024