Archive: How to create directory with certain permission set in NSIS?


How to create directory with certain permission set in NSIS?
Hi all:

Anyone know how to create a directory with the ACL permission set at the directory creation time? I know I can create the directory first and then change the ACL but there is a security concern that requires me to create the directory with the ACL set at the creation time. Thanks!

Allen


You can manually call CreateDirectory with the System plug-in and pass the ACLs in the second parameter. You could also write a plug-in that'd do the same.