command line option for inheritable permission

G

Guest

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top