Archive: File/Folder Permissions


File/Folder Permissions
How can you set file permissions and folder permissions and hopefully all files/folders ina tree recursively with NSIS?


How about System plugin with SetFileAttributes .


As KichiK mentioned in a previous post there is a powerful command line tool called SetACL. You can find it here:

http://setacl.sourceforge.net/

I used it several times and it worked very well.

Remember that you need admin privilegues to use it!!!


Please note.

http://setacl.sourceforge.net/ :
Requirements SetACL works on all Windows NT based operating systems from Windows 2000 onwards. The newer, the better.

MSDN:
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.