ramonlopesb / opendedup

Automatically exported from code.google.com/p/opendedup
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 mgroe...@gmx.net on 5 Jan 2012 at 2:05