kiyoko / eurocarb

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

GWB saves user configuration into GWB/config.xml which is incompatible Windows >= Vista #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GWB is designed as a standalone application it's therefore not without 
reason to expect a Windows user to wish to install GWB into "Program 
Files".

Unfortnately GWB saves it's configuration data into GWB\config.xml; which 
is incompatible with the security model in-place within Windows >= Vista.  
This security model requires that no program writes into the "Program 
Files" directory without admin privileges (only to be given for essential 
tasks).

Therefore we should move the configuration file into a user specific 
directory; for instance their home directory.

What steps will reproduce the problem?
1. Copy GWB folder to "Program Files"
2. Open GWB
3. Close GWB

Error given will be something close to:

java.io.FileNotFoundException: C:\Program Files (x86)\GWB-
Cartoonist\config.xml (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
..................

Original issue reported on code.google.com by Damerel...@googlemail.com on 6 Nov 2009 at 8:38

GoogleCodeExporter commented 9 years ago
I've implemented a fix for this in my local repository; will try to get it 
pulled
when everyone's back from the conference.

Original comment by Damerel...@googlemail.com on 16 Nov 2009 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by Damerel...@googlemail.com on 3 Dec 2009 at 3:20