Azure / Azure/azure-cli

az storage fs access remove-recursive broken

Open
#21,174 4 comments 0 reactions 2 assignees Claimed by @calvinhzy View on GitHub
act-codegen-extensibility-squad feature-request Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

It is not possible to use remove-recursive at all. All other "az storage fs access ..." commans work fine (e.g. update-recursive)

**Command Name**
`az storage fs access remove-recursive`

**Errors:**
```
(InvaldAccessControlList) The access control list value is invalid.
RequestId:acd2df27-601f-0070-6dfe-176680000000
Time:2022-02-02T06:28:35.7490241Z
Code: InvaldAccessControlList
Message: The access control list value is invalid.
RequestId:acd2df27-601f-0070-6dfe-176680000000
Time:2022-02-02T06:28:35.7490241Z

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- current_acl=$(az storage fs access show -f XXX --account-name PPP --auth-mode login --path YYY -o tsv --query "acl")
- echo $current_acl # yields someting like
`user::rwx,user:0e000dad-0000-00bd-00d0-ca0b0000abd0:rwx,user:bde0b000-0bf0-0000-00b0-0ff000caaf00:rwx,user:eea00ba0-ed00-0000-b000-00000af0a000:rwx,group::r-x,mask::rwx,other::---,default:user::rwx,default:user:0e000dad-0000-00bd-00d0-ca0b0000abd0:rwx,default:user:bde0b000-0bf0-0000-00b0-0ff000caaf00:rwx,default:user:eea00ba0-ed00-0000-b000-00000af0a000:rwx,default:group::r-x,default:mask::rwx,default:other::---`
- `az storage fs access remove-recursive --acl user:bde0b000-0bf0-0000-00b0-0ff000caaf00:rwx --file-system XXX --path YYY --account-name PPP --auth-mode login`

## Expected Behavior

Successfully execute and remove acl

## Environment Summary
```
Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid, Ubuntu 20.04 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.32.0
```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.