After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568175 - WinVista: config folders cannot be hidden
WinVista: config folders cannot be hidden
Status: RESOLVED DUPLICATE of bug 503722
Product: GnuCash
Classification: Other
Component: Import - AqBanking
2.2.x
Other Windows
: Normal minor
: ---
Assigned To: Christian Stimming
Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2009-01-18 13:34 UTC by Jannick
Modified: 2018-06-29 22:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jannick 2009-01-18 13:34:16 UTC
If all of the config folders like .gnucash etc. in my user folder have the 
attribute "hidden", download of transactions from bank does not work any 
more. I suspect because aqbanking does not find the files needed any more.

The reason behind my issue is that the config folders should not be 
displayed to the common user.

Using GnuCash 2.2.8 on WinVista

Other information:
Comment 1 Geert Janssens 2011-01-25 11:51:47 UTC
Thank you for reporting this. You are right that these folders should not be in a directory that is commonly accessed by users.

On Windows there are proper directories to store configuration information. I personally don't think hiding the directories while they are still stored in the wrong directory is not the good final solution. The good solution would be to move the directories inside the directory Windows has set up for configuration data: %APPDIR% (which usually points to something like
"c:\documents and settings\<user>\Application Data" on Windows XP)

As a workaround, you can alter your GnuCash installation to use this %APPDIR% to store these directories. It depends on your version of GnuCash how to achieve this:

GnuCash 2.2.9:
* Edit the file c:\program files\gnucash\bin\gnucash.cmd
* Just before the last command ("start gnucash-bin.exe" or similar), add a line:
set HOME=%APPDIR%\GnuCash
* Save the file
* Copy your dot-files into a new directory %APPDIR%\GnuCash
* Start GnuCash

GnuCash 2.4.0
* Edit the file c:\program files\gnucash\etc\gnucash\environment
* Add a line to then end of the file:
HOME={APPDIR}/GnuCash
(Note the different format !)
* Save the file
* Copy your dot-files into a new directory %APPDIR%\GnuCash
* Start GnuCash

As the proper solution is not to set attribute "hidden" on the dot directories, but to move them into a proper configuration directory, I'll be closing this bug as a duplicate of bug 503722, which elaborates on the problem and proposed solution.

Should you have any comments or questions, please follow up on that bug. Thank you.

*** This bug has been marked as a duplicate of bug 503722 ***
Comment 2 John Ralls 2018-06-29 22:16:16 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=568175. Please update any external references or bookmarks.