Modifying NTFS file security with fileacl.exe

By ramon
June 22, 2007
0

Till now I normally used the cacls command on the commandline for modifying ntfs file permissions. I always used the /E /T /G switches but soon found out that this does a recursive change on all folders/files and doesn’t use the inheritance flag. Normally not really a big problem but updating the security descriptors on a large directory tree takes time. Too much time if you ask me and so my search for a better alternative was started. I quickly found references to xcacls.vbs / xcacle.exe . These seem to fix inheritance related issues that cacls cannot do.

But I found a tool that is much easier to use these and that is fileacl.exe. When adding permissions to a folder then underlying files and folder will inherit these by default which is what you normally would want to. The syntax is also somewhat better and also provides some advanced enhancements.

Comments: 0

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta