Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Symlinks to home directories can still appear inside bottles #3728

Open
jntesteves opened this issue Jan 27, 2025 · 0 comments
Open
Labels

Comments

@jntesteves
Copy link
Contributor

jntesteves commented Jan 27, 2025

Describe the bug

This is a reissue of #572, which still happens under certain conditions. The fix substitutes symlinks with real directories on bottle creation, but Wine-based runners and Proton-based runners have different directories for the userdir, $USER and steamuser, respectively. So, when changing runner from one type to the other, a new user directory is created within the bottle and that directory still contain symlinks to the user's $HOME dir.

related to #572
related to #3042

To Reproduce

  • Create a new bottle with a Wine-based runner, like sys-wine
  • Change the runner of the bottle to a Proton-based runner, like Soda
  • In the directory drive_c/users/steamuser there will be undesirable symlinks to $HOME

Package

Flatpak from Flathub

Distribution

Fedora 41

Debugging Information

Official Package: true
Version: '51.18'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.10-200.fc41.x86_64
Disk:
    Total: 8061935616
    Free: 8061763584
RAM:
    MemTotal: 15.0GiB
    MemAvailable: 8.1GiB
Bottles_envs: null

Troubleshooting Logs

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant