Skip to content

How to assign access policies to datalake storage account without recursive option #21959

@vivuu1989

Description

@vivuu1989

It seems the Microsoft document on "az storage fs access update-recursive" is not clear not fully functional as per my testing. is there any way to do update alone without doing the update-recursive?

I have an azuredevops pipeline to assign new access & default policies to the datalake storage account policies without affecting the exising ACL settings and which is working fine.

But we are facing issues when the access is granting recursively to the directory paths for larger storage blobs.

So looking for a solution where we can decrease the time taken for assigning the access policies or can we have workaroud solution yo assign only assign the policies to the given path alone not recursively.

        - task: AzureCLI@2     
          displayName: 'setting Default ACL for Execution permission for ${{ user }}'
          inputs:
            azureSubscription: 'mysubscription'
            scriptType: 'bash'
            scriptLocation: 'inlineScript'             
            inlineScript: 'az storage fs access update-recursive --acl "default:user:${{ user }}:--x" -p / -f  ${{parameters.fsname}} --account-name ${{parameters.storagename}} --auth-mode login'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions