Re: xcacls
- From: "Pegasus" <I.can@xxxxxxx>
- Date: Thu, 21 Jun 2007 18:36:02 +0200
"TJ_2006" <James.Scammell@xxxxxxxxx> wrote in message
news:1182443160.605299.300590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi i have a massive directory containing the home directories, all
permissions are screwy and what i effectively want to do is set the
permisions for each home dir (obviously not alowing inhertiable
permisions) then the objects contained within that directory to
inherit them. the problem is if i enable policy inheritance it gives
it to the home drive itself making it insecure nd if i dont then if i
drill down a few dirs and it doesnt touch them.
any help would be greatly appreciated.
You could do this:
1. Knock out all permissions at the parent directory and all
subdirectories.
2. Seize ownership of the parent directory and all subdirectories.
3. Give full access to domain admins and "System" account at
the parent directory level, and turn on inheritance.
4. Run this command while inside the parent directory:
for /d %a in (*.*) do cacls %a /t /e /g %a:F
This command assumes that the folder names are identical
to the account names and that the folder names contain no
embedded spaces.
I note that your Subject line reads "xcacls". You can, of
course, use that command too but you will need to resolve
its syntax rules.
.
- References:
- xcacls
- From: TJ_2006
- xcacls
- Prev by Date: xcacls
- Next by Date: RAID controller change
- Previous by thread: xcacls
- Next by thread: RAID controller change
- Index(es):
Relevant Pages
|