Skip to content

Remove ACL for $merge Principal #2

@parvindersingh0722

Description

@parvindersingh0722

Hi James,
Thanks for sharing a script.
I am trying to remove the recursive ACL for a user. My directory structure as below

Test - Container
Folder2 - root dir
absoluteACL = $null
mergeprincipal = abc@zyx.com.au
mergetype=user
permission-rwx
removeentry=$true

User has ACL permission on Folder2/Z/file1.txt and Folder2/Z/file12.txt

when I run the script: it removes the ACL from Folder2/Z/file1.txt and Folder2/Z/file12.txt
However, it will update the ACL on other files/folder under Folder2 - root dir

Can you suggest how to troubleshoot this issue? I want to remove ACL for the user if present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions