Hi All,

 

How do you grant permissions to a folder for a specific user if the user
happens to be the built in Network Service account?

 

I have tried:

 

<Component Id="AssignDataDirectoryPermissionsGeneric"
Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E">

<CreateFolder Directory="DataDirectory">

<util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes"
ReadAttributes="yes" WriteAttributes="yes" User="NetworkService" />

</CreateFolder>

</Component>

 

<Component Id="AssignDataDirectoryPermissionsGeneric"
Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E">

<CreateFolder Directory="DataDirectory">

<util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes"
ReadAttributes="yes" WriteAttributes="yes" User="[SQLSERVERSERVICEUSER]"
/>

</CreateFolder>

</Component>

 

In this scenario SQLSERVERSERVICEUSER is equal to "NT AUTHORITY\Network
Service".

 

<Component Id="AssignDataDirectoryPermissionsGeneric"
Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E">

<CreateFolder Directory="DataDirectory">

<util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes"
ReadAttributes="yes" WriteAttributes="yes"
Domain="[SQLSERVERSERVICEDOMAIN]" User="[SQLSERVERSERVICEUSER]" />

</CreateFolder>

</Component>

 

In this scenario SQLSERVERSERVICEDOMAIN = "NT AUTHORITY" and
SQLSERVERSERVICEUSER = "Network Service".

 

<Component Id="AssignDataDirectoryPermissionsGeneric"
Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E">

<CreateFolder Directory="DataDirectory">

<util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes"
ReadAttributes="yes" WriteAttributes="yes" Domain="[ComputerName]"
User="[SQLSERVERSERVICEUSER]" />

</CreateFolder>

</Component>

 

In this scenario SQLSERVERSERVICEUSER = "NT AUTHORITY\Network Service"


Rather than just keep trying, does anyone know the answer to this one?

 

Thanks,

 

Amy

 

Amy Rosewater

SPECTRUM Human Resource Systems Corporation

707 17th Street Suite 3800

Denver CO, 80202

303.592.3403

[EMAIL PROTECTED]

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to