Re: Set or unset inheritance



Since removing inheritance does not itself mean granting (copying)
the existing inherited permissions (making the copy explicit on that
folder/file) - something done in the UI as a separate action, you
really need a way to block inheritance and also set the new grants
on each of those 100 folders.

You probably should look into taking a dir list that names the
full path of the folders to have this change, and then pipe that
into a repeated execution of xcacls.vbs which IIRC can control
the inheritance at the same time as setting the new grants (do
not use the /e option so that the execution replaces the ACL
instead of editing/modifying it).

"F Laufs" <FLaufs@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CAD5C250-C9B2-4A1A-8525-F09466ECC1CE@xxxxxxxxxxxxxxxx
Hi,

I've got a folder which has over 100 subfolders, all of which are
currently
inheriting their permissions. Is there any way to switch off that
inheritance
apart from going into the properties of each one and doing it manually.

Thanks for your help!


.



Relevant Pages

  • Re: Audit dept request
    ... If you need to rely on the inheritance for some folders but would like to ... explicit deny will override the permit that is inherited. ... at this level and sub folders with the exception of a few sub folders. ...
    (microsoft.public.windows.server.active_directory)
  • RE: File Migration - Inheritance
    ... Subject: File Migration - Inheritance ... As we copied the security for these folders after much of the data had ...
    (microsoft.public.windows.server.migration)
  • Re: File Migration - Inheritance
    ... Thanks Vincent. ... to set the perms on the files to the perms of the parent directory. ... Subject: File Migration - Inheritance ... As we copied the security for these folders after much of the data had ...
    (microsoft.public.windows.server.migration)
  • 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: 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)