[Bug 41668] wineboot mishandles user dir symlinks during update

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 8 12:15:21 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41668

--- Comment #6 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
(In reply to Rafał Mużyło from comment #5)
> @comment 4:
> 
> I disagree with some major points of that.
> 
> Just like in the case of those forced file associations, I see no reason why
> Windows user dirs should be forcefully aligned with its xdg not-really
> equivalents. I want them *separated*.

You may set XDG_CONFIG_HOME to any file. One for each wineprefix if you so
desires. Also there is a 100% mapping between the XDG_XXX_DIR variables and the
symlinks used by Wine.

> 
> Also, if user has changed those symlinks, wineboot shouldn't in its default
> working path touch them at all. Also, treating English dirs and the
> localized symlinks differently doesn't seem right.

Current Wine does not create English symlinks on localized systems. These must
be user made or left-overs from ancient times. That would explain why they are
untouched.

It's impractical to have Wine figure when or not to update symlinks. The
symlinks could be simply wrong, the user might switch from a "$HOME/My
Documents/My Pictures" scheme to a "$HOME/My Pictures" scheme. Not touching the
symlinks would break in those cases. The current wine update scheme will detect
those changes and update the symlinks.

In your case, with a proper XDG override support, you'd have to change the
custom XDG config file for the prefix rather than the symlinks themselves.
wineboot would handle that for you. The symlinks would not change if there is
no change in the XDG config.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list