Setting special permission on files and folders from a script
From: Amihai Bareket (amihai73_at_hotmail.com)
Date: 03/17/05
- Next message: Hasan Çolpan: "Re: printer changes"
- Previous message: Bill James: "Re: Strange error when Exporting eventlogs to a csv file"
- Next in thread: Jerold Schulman: "Re: Setting special permission on files and folders from a script"
- Reply: Jerold Schulman: "Re: Setting special permission on files and folders from a script"
- Reply: Roger Abell: "Re: Setting special permission on files and folders from a script"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Mar 2005 09:12:18 +0200
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: Hasan Çolpan: "Re: printer changes"
- Previous message: Bill James: "Re: Strange error when Exporting eventlogs to a csv file"
- Next in thread: Jerold Schulman: "Re: Setting special permission on files and folders from a script"
- Reply: Jerold Schulman: "Re: Setting special permission on files and folders from a script"
- Reply: Roger Abell: "Re: Setting special permission on files and folders from a script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|