Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using ALLUSERSPROFILE environment variable for base path on Windows #48

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Applies to Windows only:

Currently OSValidator.getProgramBasePath() as well as the sdfs.Main class use 
the PROGRAMFILES environment variable to base the calculation of the base path 
on.

It may be more appropriate to instead use the ALLUSERSPROFILE environment 
variable, which points to a dedicated directory for storing global data that is 
shared among all user accounts.

This will also avoid problem with lack of write access to the \Program Files 
folder under Windows Vista and later versions.

Original issue reported on code.google.com by [email protected] on 5 Jan 2012 at 2:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant