[Bug 59164] New: REGRESSION: Wrong symlinks for users documents directories since v 10.0
http://bugs.winehq.org/show_bug.cgi?id=59164 Bug ID: 59164 Summary: REGRESSION: Wrong symlinks for users documents directories since v 10.0 Product: Wine Version: 10.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: Ulf.Zibis@gmx.de Distribution: --- I had installed Wine 9.0 from Ubuntu repository 24.04 This I used with the default WinePrefix ~/.wine Additionally later I installed wine-stable 10.0 from WineHQ repository with: sudo apt install --install-recommends wine-stable (without hq) Then I run: WINEPREFIX=~/.wine-stable /opt/wine-stable/bin/wineboot Now I see wrong symlinks. ~/.wine-stable/drive_c/users/me/Documents -> /home/me instead: ~/.wine-stable/drive_c/users/me/Documents -> /home/me/Dokumente (german Ubuntu installation) Same bad links for Downloads, Music, Pictures and Videos Note: All these Ubuntu user directories are symlinks to a separate NTFS partition, e.g.: /home/me/Dokumente -> /mnt/Daten/Users/me/Documents This is a regression, because this worked fine since years with all versions of Wine and WineHQ before version 10. Version 11.0~rc3 has the same issue. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 Ulf Zibis <Ulf.Zibis@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |Ulf.Zibis@gmx.de -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #1 from Austin English <austinenglish@gmail.com> --- I can't reproduce this locally with `$HOME/Documents` being a symlink to another directory (but I also don't have any NTFS mounts, so that may be a factor). Please run a regression test: https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|REGRESSION: Wrong symlinks |Wrong symlinks for users |for users documents |documents directories since |directories since v 10.0 |v 10.0 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #2 from Zeb Figura <z.figura12@gmail.com> --- I have a similar setup with symlinks (although to another ext4 drive) and I haven't seen this. Can you attach a log of prefix creation with WINEDEBUG=+server,+shell,+mountmgr,+file ? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #3 from Ulf Zibis <Ulf.Zibis@gmx.de> --- Created attachment 80112 --> http://bugs.winehq.org/attachment.cgi?id=80112 Result of $ WINEPREFIX=~/.wine10 WINEDEBUG=+server,+shell,+mountmgr,+file wineboot > wineboot10.log 2>&1 Here is the log. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #4 from Ulf Zibis <Ulf.Zibis@gmx.de> --- The resulting users directory: $ ls -l ~/.wine10/drive_c/users/ich insgesamt 24 drwxrwxr-x 5 ich ich 4096 Jan 5 18:34 AppData drwxrwxr-x 2 ich ich 4096 Jan 5 18:34 Contacts lrwxrwxrwx 1 ich ich 22 Jan 5 18:34 Desktop -> /home/ich/Schreibtisch lrwxrwxrwx 1 ich ich 10 Jan 5 18:34 Documents -> /home/ich/ lrwxrwxrwx 1 ich ich 10 Jan 5 18:34 Downloads -> /home/ich/ drwxrwxr-x 2 ich ich 4096 Jan 5 18:34 Favorites drwxrwxr-x 2 ich ich 4096 Jan 5 18:34 Links lrwxrwxrwx 1 ich ich 10 Jan 5 18:34 Music -> /home/ich/ lrwxrwxrwx 1 ich ich 10 Jan 5 18:34 Pictures -> /home/ich/ drwxrwxr-x 2 ich ich 4096 Jan 5 18:34 'Saved Games' drwxrwxr-x 2 ich ich 4096 Jan 5 18:34 Searches lrwxrwxrwx 1 ich ich 10 Jan 5 18:34 Videos -> /home/ich/ Extract of my home dir: $ ls -l ~ insgesamt 93760 lrwxrwxrwx 1 ich ich 29 Okt 13 2024 Bilder -> /mnt/Daten/Users/ich/Pictures lrwxrwxrwx 1 ich ich 30 Okt 13 2024 Dokumente -> /mnt/Daten/Users/ich/Documents lrwxrwxrwx 1 ich ich 30 Okt 13 2024 Downloads -> /mnt/Daten/Users/ich/Downloads lrwxrwxrwx 1 ich ich 26 Okt 13 2024 Musik -> /mnt/Daten/Users/ich/Music lrwxrwxrwx 1 ich ich 23 Okt 13 2024 Öffentlich -> /mnt/Daten/Users/Public drwxr-xr-x 5 ich ich 4096 Dez 16 21:35 Schreibtisch drwxrwxr-x 2 ich ich 4096 Dez 23 01:59 Screenshots lrwxrwxrwx 1 ich ich 27 Okt 13 2024 Videos -> /mnt/Daten/Users/ich/Videos lrwxrwxrwx 1 ich ich 64 Okt 13 2024 Vorlagen -> /mnt/Daten/Users/ich/AppData/Roaming/Microsoft/Windows/Templates -rw-rw-r-- 1 ich ich 52061281 Jan 5 18:34 wineboot10.log -rw-rw-r-- 1 ich ich 2384492 Jan 5 18:38 wineboot10.log.zip -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #5 from Zeb Figura <z.figura12@gmail.com> --- Thanks. One more request, please—can you attach the contents of ~/.config/user-dirs.dirs? And, do you have $XDG_CONFIG_HOME set? I don't see it set in the log, but maybe something broke and we're not reading that variable properly. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #6 from Ulf Zibis <Ulf.Zibis@gmx.de> --- Oh, I see, there is something missing. No idea, since when and from which action that happened. ich@W541:~$ cat ~/.config/user-dirs.dirs # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Schreibtisch" XDG_DOWNLOAD_DIR="$HOME/" XDG_TEMPLATES_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/" XDG_DOCUMENTS_DIR="$HOME/" XDG_MUSIC_DIR="$HOME/" XDG_PICTURES_DIR="$HOME/" XDG_VIDEOS_DIR="$HOME/" ich@W541:~$ echo $XDG_CONFIG_HOME ... doesn't exist or is empty. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 --- Comment #7 from Ulf Zibis <Ulf.Zibis@gmx.de> --- Now I corrected: $ cat ~/.config/user-dirs.dirs # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Schreibtisch" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/Vorlagen" XDG_PUBLICSHARE_DIR="$HOME/Öffentlich" XDG_DOCUMENTS_DIR="$HOME/Dokumente" XDG_MUSIC_DIR="$HOME/Musik" XDG_PICTURES_DIR="$HOME/Bilder" XDG_VIDEOS_DIR="$HOME/Videos" Now all symlinks are correct, except 2 are missing: ~/.wine-stable/drive_c/users/ich/Templates -> /home/ich/Vorlagen ~/.wine-stable/drive_c/users/Public -> /home/ich/Öffentlich -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #8 from Zeb Figura <z.figura12@gmail.com> --- Thanks, I'll go ahead and resolve this INVALID then since it seems like there was a setup issue.
Now all symlinks are correct, except 2 are missing: ~/.wine-stable/drive_c/users/ich/Templates -> /home/ich/Vorlagen ~/.wine-stable/drive_c/users/Public -> /home/ich/Öffentlich
Public is different from XDG_PUBLICSHARE_DIR; it's supposed to be user-neutral. Windows doesn't have an equivalent to XDG_PUBLICSHARE_DIR. Templates is missing because we only create those directories on demand, and I don't think anything in the normal boot process creates it. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59164 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Gijs Vermeulen <gijsvrm@gmail.com> --- Closing INVALID. -- 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.
participants (1)
-
WineHQ Bugzilla