Re: Setting special permission on files and folders from a script
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 03/17/05
- Next message: Huppy: "Upgraded RAID driver now server won't start"
- Previous message: Craig N.: "Re: Redundant power with one power supply?"
- In reply to: Amihai Bareket: "Setting special permission on files and folders from a script"
- Next in thread: Michael Harris \(MVP\): "Re: Setting special permission on files and folders from a script"
- Reply: Michael Harris \(MVP\): "Re: Setting special permission on files and folders from a script"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 13:02:57 -0700
Go search for xcacls.vbs at microsoft.com/downloads
(note: that was .vbs)
-- Roger "Amihai Bareket" <amihai73@hotmail.com> wrote in message news:uK2t1BsKFHA.3616@TK2MSFTNGP09.phx.gbl... > Ok, Here's my problem - > I'm using scripts (Batch, VBScript) to create multiple directories with > different permissions on the folders. > When I create a new folder I need to set ACL so specific user groups will > have modify permission to all objects that will be created under that > directory, but won't be able to modify the directory folder itself (delete > or rename). > Because I need to use inheritance, changing the permission on the folder > itself will change the permission also on subfolders that will be created. > I know how to do this from Windows GUI (modify permissions for subfolders > and files only), but how can I do it from a script? > > I normally use CACLS or XCACLS to set ACL on files and folders. > > Any Ideas? > >
- Next message: Huppy: "Upgraded RAID driver now server won't start"
- Previous message: Craig N.: "Re: Redundant power with one power supply?"
- In reply to: Amihai Bareket: "Setting special permission on files and folders from a script"
- Next in thread: Michael Harris \(MVP\): "Re: Setting special permission on files and folders from a script"
- Reply: Michael Harris \(MVP\): "Re: Setting special permission on files and folders from a script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|