Summary: Windows Vista/7/8 file locations
                 Project: Freeciv
            Submitted by: None
            Submitted on: Sat Apr 13 23:35:54 2013
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Microsoft Windows
         Planned Release: 



Windows NT 6+ (Vista or later) enforces a "new" rule, where applications are
not allowed to write application data to their own installation directory. For
backwards compatibility write accesses are silently redirected to, e.g.,
%USERPROFILE%\AppData\Local\VirtualStore\Program Files
(x86)\Freeciv-2.3.4-gtk2\etc., where it is hard to find, because AppData is a
hidden directory.  Affected files include freeciv-gtk2.RPT,
freeciv-server.RPT, stderr.txt, and stdout.txt (= stdio redirection for an
implicitly started server.)

I'd be quite willing to overrule this "new" (for me) feature for good "old"
apps incl. various MS programs, but Freeciv uses a directory name with its own
version (2.3.4 or whatever), so allowing write access for all authenticated
users won't help for the next Freeciv version.

Please create these files in the normal per user directory, i.e., use the
existing %USERPROFILE%\AppData\Local\Roaming\.freeciv directory. 

While at it please move the configuration file .freeciv-client-rc-2.3 from
%USERPROFILE%\AppData\Local\Roaming to the existong
%USERPROFILE%\AppData\Local\Roaming\.freeciv or to the also existing
%USERPROFILE%\AppData\Local\Roaming\.freeciv\2.3 directory.   


File Attachments:

Date: Sat Apr 13 23:35:54 2013  Name: freeciv-gtk2.RPT  Size: 15kB   By: None
freeciv-gtk2.RPT (contains four 2.3.4 errors)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to