Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 85d1aa3

Browse files
committed
Changed setting access to script directory
1 parent fcac595 commit 85d1aa3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nsis/postgresql.nsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,11 +769,13 @@ Section $(componentServer) sec1
769769
AccessControl::GrantOnFile "$DATA_DIR\postgresql.conf" "$loggedInUserShort" "FullAccess"
770770
Pop $0 ;"ok" or "error" + error details
771771

772+
/*
772773
DetailPrint "GRANT FullAccess ON $INSTDIR\scripts TO $loggedInUser"
773774
AccessControl::GrantOnFile "$INSTDIR\scripts" "$loggedInUser" "FullAccess"
774775
DetailPrint "GRANT GenericRead + GenericExecute ON $INSTDIR\scripts\pgpro_upgrade.cmd TO $loggedInUser"
775776
AccessControl::GrantOnFile "$INSTDIR\scripts\pgpro_upgrade.cmd" "$loggedInUser" "GenericRead + GenericExecute"
776777
Pop $0 ;"ok" or "error" + error details
778+
*/
777779

778780
${if} $isDataDirExist == 1
779781
; there exist data directory. We need to stop service,

0 commit comments

Comments
 (0)