xcacls removes permissions, inheritance puts them back

G

Guest

I have used xcacls in a batch file to create several hundred folders and set
the permissions on them. I removed a set of permissions which they had all
inherited from the folder above (again using xcacls). However, as
inheritance is still in place the permission is 'put back in again'. Anyone
know how to break the inheritance link (apart from doing it manually by
unticking the box)?
Grateful for any help.
 
G

Guest

Fileacl does the job - thanks!

Steven L Umbach said:
There is also an xacls.vbs [which adds the /I switch] or my favorite
fileacl. I know fileacl can handle inheritances [enable or disable] with
/inherit or /protect and ownership. The link below explains a lot more with
example of some syntax for fileacl which takes bit of practice to get
right.. --- Steve

http://www.gbordier.com/gbtools/fileacl.htm
http://support.microsoft.com/?id=825751 -- xcacls.vbs

F Laufs said:
I have used xcacls in a batch file to create several hundred folders and
set
the permissions on them. I removed a set of permissions which they had
all
inherited from the folder above (again using xcacls). However, as
inheritance is still in place the permission is 'put back in again'.
Anyone
know how to break the inheritance link (apart from doing it manually by
unticking the box)?
Grateful for any help.
 
S

Steven L Umbach

Great! Thanks for reporting back that it worked. It is a handy file
permission program. --- Steve


F Laufs said:
Fileacl does the job - thanks!

Steven L Umbach said:
There is also an xacls.vbs [which adds the /I switch] or my favorite
fileacl. I know fileacl can handle inheritances [enable or disable] with
/inherit or /protect and ownership. The link below explains a lot more
with
example of some syntax for fileacl which takes bit of practice to get
right.. --- Steve

http://www.gbordier.com/gbtools/fileacl.htm
http://support.microsoft.com/?id=825751 -- xcacls.vbs

F Laufs said:
I have used xcacls in a batch file to create several hundred folders and
set
the permissions on them. I removed a set of permissions which they had
all
inherited from the folder above (again using xcacls). However, as
inheritance is still in place the permission is 'put back in again'.
Anyone
know how to break the inheritance link (apart from doing it manually by
unticking the box)?
Grateful for any help.
 

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