Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Remove a single permission using ICACLS utility

$
0
0

Hi

I have a folder that contains two different ACL permissions on a single folder e.g

mytestuser:(CI)(RX)
mytestuser:(OI)(R)

I want to remove only one permission from these two like the first one.

I've tried using 

ICACLS.exe "path to directory" /Remove "mytestuser":(OI)(R) ---> results in removing nothing

ICACLS.exe "path to directory" /Remove "mytestuser" ---> results in removing both permissions.

Can someone please tell me how to remove a single permission and retaining the rest of the permissions of a given user.

Regards

Usman Jamil


Viewing all articles
Browse latest Browse all 12072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>