Thanks, Matheesha. That is the sort of logic my brain was rejecting last night. ;-) Brian and Irwan, thank you as well, though those settings were for newly created folders going forward (see: http://support.microsoft.com/kb/288991/en-us).
-- nme
From: matheesha weerasinghe [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 20, 2006 6:54 AM
To: [email protected]
Subject: Re: [ActiveDir] Administrator Access to Redirected Folders
Noah
Use subinacl to rest the ownership. I would do something like this.
dir /b /s path_to_folder_with_list_of_usernames > something.txt
for /f %i in (something.txt) do subinacl /file %i /setowner=domain\%i
for /f %i in (something.txt) do subinacl /subdirectories %i\*.* /setowner=domain\%i
This assumes all the redirected folders are under one folder. All users are from the same domain etc.. I remember having to do this twice to reset ownership to the parent folder and also for child objects.
M@
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.5 /284 - Release Date: 3/17/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 3/17/2006
Glad to be of help. Make sure you reset ownership first before resetting the perms. Once the ownership is sorted, when you set the perms on the parent, all the subfolders for the users will be fixed. I dont think you will need to use setacl at this point. I assume you will be settings perms as described in the MS docs. Creator/Owner gets full rights on the subfolder and files while authenticated users get special rights which essentially allow the folder to get created at redirection.
Add whoever else is required with full rights such as administrators.
M@
On 20/03/06, Noah Eiger <[EMAIL PROTECTED]> wrote:
