Talk:AccessControl plug-in: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Vista support) |
(Set the append/modify flag for ACLs) |
||
Line 11: | Line 11: | ||
I've tested AccessControl under Vista and it works great. | I've tested AccessControl under Vista and it works great. | ||
Thx | Thx | ||
== Set the append/modify flag for ACLs == | |||
If you want to set the append/modify flag (in German: ändern) for files/directories, set the accesscontrol flag to: "GenericRead + GenericWrite + GenericExecute" | |||
== Usage Example == | |||
<highlight-nsis> | |||
# Make the directory "$INSTDIR\database" read write accessible by all users. | |||
# The user can also append data or modify files. | |||
AccessControl::GrantOnFile \ | |||
"$INSTDIR\database" "(BU)" "GenericRead + GenericWrite + GenericExecute" | |||
</highlight-nsis> |
Revision as of 13:01, 10 September 2007
What about Vista support? Is it working on Vista?
--141.7.15.121 05:21, 26 June 2007 (PDT)
What about recursive rights?
--141.7.15.121 00:25, 30 July 2007 (PDT)
Vista support
I've tested AccessControl under Vista and it works great. Thx
Set the append/modify flag for ACLs
If you want to set the append/modify flag (in German: ändern) for files/directories, set the accesscontrol flag to: "GenericRead + GenericWrite + GenericExecute"
Usage Example
# Make the directory "$INSTDIR\database" read write accessible by all users. # The user can also append data or modify files. AccessControl::GrantOnFile \ "$INSTDIR\database" "(BU)" "GenericRead + GenericWrite + GenericExecute"