RE: Make all directories reinherrit ACLs

From: Evan Mann (emann@questinc.org)
Date: 07/22/02


From: Evan Mann <emann@questinc.org>
To: "'Craig E. Szymanski'" <cszymanski@berlinschools.org>, "'focus-ms@securityfocus.com'" <focus-ms@securityfocus.com>
Date: Mon, 22 Jul 2002 12:57:44 -0400

OS is Win2K. This will end up flagging every file/subfolder as inherrit
permission from parent. Thus it may alter some folders that were set to not
inherrit permission, which is a problem.

-----Original Message-----
From: Craig E. Szymanski [mailto:cszymanski@berlinschools.org]
Sent: Monday, July 22, 2002 12:53 PM
To: Evan Mann
Subject: RE: Make all directories reinherrit ACLs

What OS?
in win2k just choose advanced options and then under the permissions tab
check off "Reset permissions on all child objects and enable propagation of
inheritable permissions" and apply

-----Original Message-----
From: Evan Mann [mailto:emann@questinc.org]
Sent: Monday, July 22, 2002 10:54 AM
To: 'focus-ms@securityfocus.com'
Subject: Make all directories reinherrit ACLs

Is there an application/script/some other way to select an entire drive or
directory and have it reset ACLs on all subfolders with the appropriate
inherrit permissions as currently set on each root folder?

Ex: If C:\folder1\subfolder1 is set to inherrit but C:\folder1\subfolder2
is not, the script/util/etc. would see that subfolder1 is flagged inherrit
and re-ACL all the files in subfolder1, but it would not touch subfolder2
because it is not set inherrit.

Furthermore, if C:\folder1\subfolder2\subsubfolder3 had inherrit permission,
it would flag subsubfolder3 and re-ACL all the files in that folder
appropriately.

Basically looking for something like this because, as we all know, when you
move files around on the same drive, the permissions do not inherrit from
folder to folder, as they would with a copy/paste, and I'm looking for a way
to make sure all my subfolders/files are ACL'd corretly, w/o having to go
through them all manually (hopefully!)

Thanks!

Evan



Relevant Pages

  • Make all directories reinherrit ACLs
    ... inherrit permissions as currently set on each root folder? ... and re-ACL all the files in subfolder1, but it would not touch subfolder2 ... it would flag subsubfolder3 and re-ACL all the files in that folder ...
    (Focus-Microsoft)
  • Re: Minimum NTFS Permissions - Theres such a thing???
    ... ?2001 Microsoft Corporation. ... HOW TO: Set Minimum NTFS Permissions Required for IIS 5.0 to Work WGID:198 ... " List Folder Contents" ...
    (microsoft.public.inetserver.iis.security)
  • Re: Unable to delete orphaned 1.5 GB System Restore folder
    ... The fact that the tech support is based in India has nothing to do with the ... If so you may want to leave this folder alone. ... down to all children folders because i can set those permissions to ... try deleting from the command line using system by using the AT ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Unable to delete orphaned 1.5 GB System Restore folder
    ... The only computers i fix are my own. ... If so you may want to leave this folder alone. ... it includes all subdirectories with inherited permissions. ... try deleting from the command line using system by using the AT ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Word mail merge data source
    ... "Peter Jamieson" wrote: ... Word on it) then there may be a problem if the folder containing the data ... Word builds a connection string. ... superset of other users' permissions - for example, ...
    (microsoft.public.word.vba.general)