?
Solved

Using SetACL to change inheritance

Posted on 2007-10-03
6
Medium Priority
?
1,589 Views
Last Modified: 2013-12-23
I have several users home directories with an ACE set to full access for the user, but "this folder only"  I'm trying to use setacl.exe to change it to "this folder sub folders and files" for that user.  I have come up with this script but it seems I'm missing something, as it doesn't work.  

SetACL.exe -on "%homeshare%" -ot file -actn ace -ace "n:DTHS\%username%;p:full;so,sc" -op "dacl:np;sacl:np" -actn rstchldrn rst "dacl,sacl"  -rec cont_obj -ignorerr

Any ideas ???
0
Comment
Question by:sean-keys
  • 4
  • 2
6 Comments
 
LVL 8

Expert Comment

by:JSoup
ID: 20008305
is this in any way dealing with a server??  SetACL.exe is a free program for setting permissions on Windows NT/2000/XP systems.
use explorer
0
 

Author Comment

by:sean-keys
ID: 20008357
I don't want to use explorer because I would have to do the same thing for some 500 directories.
0
 
LVL 8

Expert Comment

by:JSoup
ID: 20008396
is this in any way dealing with a server??  
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:sean-keys
ID: 20008440
yes it is
0
 
LVL 8

Expert Comment

by:JSoup
ID: 20008548
Some technical information is  needed before giving the right advice.  
SetACL.exe is a free program for setting permissions on Windows NT/2000/XP systems.
Which w2k3 or w2K server is it?
Is this using Windows Server 2003 Terminal Services?
Are Windows NT 4 computers in use?


0
 
LVL 8

Accepted Solution

by:
JSoup earned 2000 total points
ID: 20008580
example
APPLIES TO
" Microsoft Windows 2000 Server
" Microsoft Windows 2000 Advanced Server
" Microsoft Windows 2000 Professional Edition
" Microsoft Windows 2000 Datacenter Server
" Microsoft Windows NT Workstation 3.51
" Microsoft Windows NT Workstation 4.0 Developer Edition
" Microsoft Windows NT Server 3.51
" Microsoft Windows NT Server 4.0 Standard Edition
 
>>>>>>    How To Automate Folder Permissions
http://support.microsoft.com/kb/180464

it not one solution for all.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question