Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 8th February 2007, 21:43   #1
alient
Junior Member
 
Join Date: Jun 2004
Posts: 13
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
alient is offline   Reply With Quote
Old 9th February 2007, 08:43   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump