[PS] Cloning the ACLs of an directory in another directory
HI
In Windows 7, I have two directories with some different permissions.
Using PowerShell, as do I set the two directories so that it have the same permissions?
In other words, how do I remove all the ACLs from a directory to set the ACLs of another directory?
THANKS
BYE
In Windows 7, I have two directories with some different permissions.
Using PowerShell, as do I set the two directories so that it have the same permissions?
In other words, how do I remove all the ACLs from a directory to set the ACLs of another directory?
THANKS
BYE
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
I don't know PS particularly well so there may well be a native method to do what you're asking. What I *do* know is that the freeware tool SetACL can output DACLs to a file which can then be used to restore to either the same folder or another.
Posted by:
balubeto
14 years ago
ORIGINAL: VBScab
I don't know PS particularly well so there may well be a native method to do what you're asking. What I *do* know is that the freeware tool SetACL can output DACLs to a file which can then be used to restore to either the same folder or another.
Unfortunately, I need to write a script in PowerShell to do this without using other utilities. So how do I get this script?
THANKS
BYE
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.