Clear inherited file permissions

delphi package - easy access to security apis
Post Reply
valitudor
Posts: 2
Joined: Wed Apr 21, 2010 10:31 am

Clear inherited file permissions

Post by valitudor »

I’m trying to clear the inherited file permissions of some files. If I clear the “allow inheritable permissions from the parent to propagate to this object…” and I copy permissions from the parent, everything works ok, but not with the inherited permissions.
Could you help me, please?

P.S. Thanks for your components.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Try playing with "ISecurityObject.ProtectedDAcl" property. That controls inherited rights.
valitudor
Posts: 2
Joined: Wed Apr 21, 2010 10:31 am

Post by valitudor »

Thanks, that did it!
Post Reply