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

Redirect not working. #264

Closed
TeamLinux01 opened this issue Aug 25, 2023 · 4 comments
Closed

Redirect not working. #264

TeamLinux01 opened this issue Aug 25, 2023 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@TeamLinux01
Copy link

I just tried out Bazzite and it has /home as a symbolic-link for /var/home. I did a redirect (bidirectional) of /var/home to /home, but it still wants to backup as /var/home.

It is using flatpak with version 0.21.

Thanks for any input.

@mtkennerly mtkennerly added the bug Something isn't working label Aug 26, 2023
@mtkennerly
Copy link
Owner

Thanks for reporting this! It looks like Ludusavi shouldn't re-normalize paths (which involves traversing symlinks) after applying the redirects. I'll look into fixing this, but it may take some time to figure out.

In the meantime, a workaround would be to make a bidirectional redirect with a dummy path that isn't symlinked, like mapping /var/home to /home-bazzite.

@mtkennerly mtkennerly added this to the v0.24.1 milestone Jun 13, 2024
@mtkennerly
Copy link
Owner

@TeamLinux01 I have a build with a fix for this. Would you be able to test it out?

ludusavi-v0.24.0-post.11+cc507f2-linux.zip

@TeamLinux01
Copy link
Author

I just tested it and it works correctly. Mapping /var/home to /home will result in the archive having a path of drive-0/home/.

Thank you.

@mtkennerly
Copy link
Owner

Awesome :) Thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants