Firefox - how to access downloaded files. #5977
-
Hi,
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 1 reply
-
Hi, Normally, after installation (and after installing any new program) you do the following:
The above command will set up profiles for you, including your Firefox profile.
From now on, there is no difference between using Firefox "normally" and using it in a sandbox. Apart from the fact that Firefox only reaches your Download folder, of course. If you type at the command line:
you can see which programs are running in the sandbox. |
Beta Was this translation helpful? Give feedback.
-
Hi, I run openSUSE's tumbleweed (currently 20230816) and In this particular case I have
I use my own .desktop file with the following:
|
Beta Was this translation helpful? Give feedback.
-
I just did a quick test and added this line to my
Now files are saving as expected to that folder. I thought |
Beta Was this translation helpful? Give feedback.
-
Hi, If you use the pre-made profiles, then yes, the Download folder is available. You can easily check what you are accessing by using your browser as a "file manager".
I faced similar issues when I started using firejail. I also use multiple browsers (multiple instances of the same browser), but I approached things from a slightly different angle. My attitude is "Thank you very much for all the hard work you put into the profiles and I'll use all the ones available".
I take a look at the available profile here:
I try to override the part I don't like in the location below:
If I do it this way, what I gain is that the complicated seccomp settings are retained, and only the part that was holding me back is changed.
There are several ways to isolate something. A) B) "firefox" and "firefox-dev" do not look like two different programs from the firejail perspective. The operating system treats them the same way. Both are just "firefox" and that's it. What distinguishes them is where the executable file resides. Here is, how I use e.g. "firefox-dev edition".
Br: Zs |
Beta Was this translation helpful? Give feedback.
-
Off: So far I've only encountered two problems during system-wide use (firecfg way).
|
Beta Was this translation helpful? Give feedback.
-
HI kzsa, thanks for the replies. I read them quickly but will re-read tomorrow after I get some sleep :) But I still can't find why |
Beta Was this translation helpful? Give feedback.
-
Just a quick note on |
Beta Was this translation helpful? Give feedback.
-
Hi @glitsj16 . I checked my
I decided to do a slow test of things with
Then I did the following tests -
I'm getting very confused now as to why there's a different result between the terminal ran command and the .desktop file. Help me Obi-wan. |
Beta Was this translation helpful? Give feedback.
-
Hi @kzsa . I separate my firefox profiles for the following reason(s). Creating profiles via firefox's ProfileManager is fine but all those profiles referenced in When I start firefox with Just trying to isolate things as much as possible. |
Beta Was this translation helpful? Give feedback.
-
Well that's to be expected when you don't explicitly
Suggestions for de-confusement:
Summing up: $ cat ~/.config/firejail/firefox_anime.profile
ignore apparmor
ignore noexec ${HOME}
whitelist ${HOME}/firefox
whitelist /data/chris/firefox_profiles/anime
# redirect to default firefox profile
include /etc/firejail/firefox.profile $ cat ~/.local/share/applications/firefox_anime.desktop
[Desktop Entry]
Categories=Network;WebBrowser;GTK;
Encoding=UTF-8
Name=Firefox (Anime)
GenericName=Web Browser
Comment=Web Browser
TryExec=/home/chris/firefox/firefox
Exec=sh -c 'firejail --profile=firefox_anime.profile -- /home/chris/firefox/firefox -P /data/chris/firefox_profiles/anime --no-remote %u'
Icon=/home/chris/firefox/browser/chrome/icons/default/default128.png
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Type=Application
Actions=PrivateBrowsing;
[Desktop Action PrivateBrowsing]
Name=New Private Browsing Window
Exec=/home/chris/firefox/firefox --private-window %u HTH |
Beta Was this translation helpful? Give feedback.
-
Brilliant. Your suggestions worked!!!!! Only change I had to make was that the So from Many thanks!! 👍 |
Beta Was this translation helpful? Give feedback.
Well that's to be expected when you don't explicitly
whitelist ${DOWNLOADS}
(note the difference withwhitelist ${HOME}/Downloads
here!) in firefox_anime.local and don'tinclude firefox.profile
either.Suggestions for de-confusement:
firefox_anime.profile
(foo.local only makes sense when foo.profile exists and takes care of including foo.local)include /etc/fireja…