Link to home
Start Free TrialLog in
Avatar of vas85
vas85

asked on

How to set permissions on file in ProgramData so standard users can have read/write access

I am installing a file to the %ALLUSERSPROFILE% directory.   Using the Installshield files and folders view,  what user and group variables need to be added
so the standard user has read/write access to this file?

I've tried [%Userdomain] with  [LogonUser] but that doesn't seem to be working on all our test systems.  

It  works ok on one win 7 32 bit vmware image, but doesn't set write permission on a win 7 64 bit vmware image
Avatar of epichero22
epichero22
Flag of United States of America image

Can you add Authenticated Users to that object?  Add Authenticated Users with the modify permission under security settings.

Also, remember that if there is a conflicting permission on another object that it's inheriting from, the more restrictive of the conflict will win.  You can turn off inheritance by right-clicking on the object and going to Properties -> Security -> Advanced.
SOLUTION
Avatar of NassimJD
NassimJD
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Vadim Rapp
Vadim Rapp
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vas85
vas85

ASKER

Thanks.  I have successfully tested on Win 2008 server and when the rest of my team has a chance to try it out, I will report back.  

I agree with your advice to place the file somewhere else.  I will see if I can get agreement from my team leader.
Avatar of vas85

ASKER

Thanks for responding so promptly to my question.  Several people have tested and the file now has read/write access for everyone who has tried.  I am still lobbying to move the file as was suggested.