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

Firefox changes the absolute path, which breaks file-backups #41

Open
Coburn opened this issue Feb 13, 2021 · 3 comments
Open

Firefox changes the absolute path, which breaks file-backups #41

Coburn opened this issue Feb 13, 2021 · 3 comments

Comments

@Coburn
Copy link

Coburn commented Feb 13, 2021

Using Firefox 85, FLATPAK VERSION, on Ubuntu 21.04 Hirsute (because the DEB version is currently broken). This version of Firefox, which apparently is gaining traction, is run inside of a container. It has changed the way it describes paths on the operating system. Therefore, where once we had:

/home/user/Documents/WikiDirectory/wiki.htm

we now have:

/run/user/1000/doc/99999abc/Documents⁩/WikiDirectory/wiki.htm,

where "99999abc" is a random hexadecimal number. This is a valid absolute path, but because it is run through the virtual filesystem and not the absolute Linux file tree, it breaks File Backups.

I guess this is a bit of beta testing, because Hirsute is not due out for a couple months. But at the same time, Flatpak is up and running. It is the suggested method of install for Firefox on Linux outside of a repository. And it alone works, whereas the DEB version and the gzipped version (and, old news, the PortableApps version under Wine) do not work on my OS. So I hope very much you have a fix for this, because it is coming your way.

Thanks

@pmario
Copy link
Owner

pmario commented Feb 16, 2021

Hi, Your directory seems to use Documents directory. ... If your browser download setting points to the Documents dir it should work.

The AddOn uses the browser API. It doesn't have access to any absolute path outside of the "downloads" directory.

I think this needs to be an issue in the browser repo.

Do you have any error message? May be F12 and try to save. Any error there?

@pmario
Copy link
Owner

pmario commented Feb 16, 2021

I'm using Ubuntu 20.04 on 1 of my machines - I'm mainly using LTS versions. So I'll probably never have a possibility to test something on 21.xx.

Do you have a link to the Flatpak version you use?

@Coburn
Copy link
Author

Coburn commented Feb 16, 2021 via email

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

No branches or pull requests

2 participants