Home All Groups Group Topic Archive Search About

command line option for inheritable permission

Author
6 Feb 2006 9:30 PM
Kanan
Hi,
Here is my issue: I need to create a folder where everyone should have read
access
but the subfolders underneath this folder will have access to only one
particular user. I want to be able to do this using commands. Is this
possible. I want to avoid the inheriting the permissions from the parent
folder to the subfolder in the command line. I will be creating 300 some
subfolders. Thats why I have a need for this.  I don't want to right click
and remove inheritance of permissions and add new users for each folder one
by one. Can somebody help me with this with a small script if possible or any
ideas?

BTW this is in Windows 2000.

thanks
Kanan

Author
7 Feb 2006 3:31 PM
Jerold Schulman
Show quote Hide quote
On Mon, 6 Feb 2006 13:30:52 -0800, "Kanan" <Ka***@discussions.microsoft.com> wrote:

>Hi,
>Here is my issue: I need to create a folder where everyone should have read
>access
>but the subfolders underneath this folder will have access to only one
>particular user. I want to be able to do this using commands. Is this
>possible. I want to avoid the inheriting the permissions from the parent
>folder to the subfolder in the command line. I will be creating 300 some
>subfolders. Thats why I have a need for this.  I don't want to right click
>and remove inheritance of permissions and add new users for each folder one
>by one. Can somebody help me with this with a small script if possible or any
>ideas?
>
>BTW this is in Windows 2000.
>
>thanks
>Kanan

See tip 8225 » The Extended Change Access Control List tool (Xcacls.vbs) has been enhanced and replaces Xcacls.exe.
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
Author
9 Feb 2006 6:21 PM
Kanan
Thanks so much. 
Kanan
Show quoteHide quote
"Jerold Schulman" wrote:

> On Mon, 6 Feb 2006 13:30:52 -0800, "Kanan" <Ka***@discussions.microsoft.com> wrote:
>
> >Hi,
> >Here is my issue: I need to create a folder where everyone should have read
> >access
> >but the subfolders underneath this folder will have access to only one
> >particular user. I want to be able to do this using commands. Is this
> >possible. I want to avoid the inheriting the permissions from the parent
> >folder to the subfolder in the command line. I will be creating 300 some
> >subfolders. Thats why I have a need for this.  I don't want to right click
> >and remove inheritance of permissions and add new users for each folder one
> >by one. Can somebody help me with this with a small script if possible or any
> >ideas?
> >
> >BTW this is in Windows 2000.
> >
> >thanks
> >Kanan
>
> See tip 8225 » The Extended Change Access Control List tool (Xcacls.vbs) has been enhanced and replaces Xcacls.exe.
>  in the 'Tips & Tricks' at http://www.jsifaq.com
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com
> http://www.jsifaq.com
>