bugFreeciv - Bugs: bug #20356, freeciv-chat.log ends up in...

 
 
Show feedback again

bug #20356: freeciv-chat.log ends up in obscure location on Windows Vista

Submitted by:  log65536 <log65536>
Submitted on:  Thu 06 Dec 2012 03:38:22 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Duplicate
Assigned to: NoneOpen/Closed: Closed
Release: Operating System: Microsoft Windows
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Jan 2014 10:41:48 PM UTC, comment #5:

Closing as duplicate of bug #20738.

Jacob Nevins <jtn>
Project Administrator
Sun 18 Aug 2013 02:02:46 PM UTC, comment #4:

> Is that when saving from the client, or the server?


from the client

Christian Prochaska <cproc>
Project Administrator
Sun 18 Aug 2013 01:46:31 PM UTC, comment #3:

(that's "2.4.0-beta2 and later")

Jacob Nevins <jtn>
Project Administrator
Sun 18 Aug 2013 01:46:05 PM UTC, comment #2:

> The same happens for map images in S2_4.

Is that when saving from the client, or the server?

2.4.0-beta and later contain the fix for bug #19168, and so should save alongside savefiles. But I suspect that doesn't affect client map image saves.

Jacob Nevins <jtn>
Project Administrator
Sun 18 Aug 2013 01:07:16 PM UTC, comment #1:

When I save the chat log with S2_3 and S2_4 on Linux (after 'make install'), it ends up in the directory I ran 'freeciv-gtk2' from. The same happens for map images in S2_4. Is there a reason these files don't get saved in '~/.freeciv' by default or is this a bug?

Christian Prochaska <cproc>
Project Administrator
Thu 06 Dec 2012 03:38:22 PM UTC, original submission:

Using a default install, freeciv-chat.log is saved in a highly unintuitive location on Windows Vista:

C:/Users/log65536/AppData/Local/VirtualStore/Program Files (x86)/Freeciv-2.3.2-gtk2

This is a priviledge-related problem on Vista. When applications attepmt to write to a directory without having the necessary security priviledges, the OS lies to the application by reporting success, but the write is silently redirected to a "virtual folder", a very obscure location not likely to be known to users. Worse, the exact behavior depends on the OS version and settings.

Besides freeciv-chat.log, other files (I found stdout.txt and stderr.txt) also seem to get redirected in this way. I think all these files better be placed alongside savegames in the user's home directory (would be C:/Users/log65536/AppData/Roaming/.freeciv by default on Vista).

Another related issue is that when clicking on "Load Saved Game" in the client, a list of savegames is correctly displayed, but then clicking on "Browse" opens the dialog in the freeciv install folder (actually the "real" and "virtual" install directories, merged together!). The usual savegame directory is hard to find and takes too many clicks.

log65536 <log65536>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cproc (Posted a comment)
  • -unavailable- added by log65536 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Jan 2014 10:41:47 PM UTCjtnStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup