Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting permissions for a sub-directory with cacls.exe

Status
Not open for further replies.

SidianConsulting

Programmer
Jun 24, 2002
438
US
Hello everyone,

I'm not a Windows 2000 system administrator, nor am I green, however...

I have a web application that consists of a directory structure like so:

data clienta job1 job2 clientb job1 job2
and so on, with multiple client folders that contain multiple job numbers.

What I need to do is assign permissions on the job folders. The catch is that administrators should have access to the folder itself, meaning they can change the name of it or delete it, if they want. Regular users that will be in a group I create should be able to copy, rename and delete ANY files and folders inside of a specific job folder, but they must not be able to modify the actual job folder itself (i.e. delete or rename).

Any ideas on this? I've looked at xcacls.exe as well, but I'm pretty lost as to the solution here.

To make things a little worse, I need a method to be able to set all of the current job dirs with the correct permissions, as well as a method for when my app creates the job dir in the first place; so basically I need to replace existing permissions as well as create new ones after my app makes each job directory.

Thanks!

-Tek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top