xcacls removes permissions, inheritance puts them back

From: F Laufs (FLaufs_at_discussions.microsoft.com)
Date: 01/31/05


Date: Mon, 31 Jan 2005 08:39:02 -0800

I have used xcacls in a batch file to create several hundred folders and set
the permissions on them. I removed a set of permissions which they had all
inherited from the folder above (again using xcacls). However, as
inheritance is still in place the permission is 'put back in again'. Anyone
know how to break the inheritance link (apart from doing it manually by
unticking the box)?
Grateful for any help.



Relevant Pages

  • Re: Authenticated users permissions
    ... After that some files / folders did not have the permissions. ... Authenticated Users permission and select it to be Read Only (not denying ... > will turn them into the initial explicit permissions on the new inheritance ...
    (microsoft.public.security)
  • Re: File permissions
    ... minutes to take ownership and set attributes of all files in this folder. ... folders since that is what is causing the root problem. ... strip the block inheritance setting if ... and then let the inheritable permissions trickle in. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Xcacls and Incorrectly ordered permissions
    ... the root ... inheritance of ACLs from the root. ... > When I try to use Xcacls to set the permissions for a newly converted ... > I get permission for the root directory but the permissions don't seem ...
    (microsoft.public.windowsxp.security_admin)
  • Re: batch file for share permissions
    ... I am looking for a way to change share permissions on folders ... via a batch file. ... I have found xcacls works fine for security ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Windows 2000 permissions reporting
    ... just the folders where the permissions were applied, ... permissions flow down the file structure. ... Permission are actually inherited when the child object is created. ... Inheritance is largely just a convenience for APPLYING those permissions. ...
    (microsoft.public.windows.server.general)