<div dir="ltr">On a side note, could use a little help with the restricted network function. Something changed between earlier versions and 0.9.64.4. In earlier versions I could use "firejail --apparmor --net=eno1 firefox" to create a new network stack. When I try to use it now I do not get any errors, but am unable to browse to any site. If I change restricted-network to yes I get the error "Error: networking feature is disabled in Firejail configuration file". Networking is enabled according to both the config file and to "firejail --version".<br><div><br></div><div>The developers notes in /etc/firejail/firejail.config say "Restricted networking grants access to --interface, --net=ethXXX and # --netfilter only to root user. Regular users are only allowed --net=none. I'm guessing that firejail sees me as a regular user and not as a root user?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 20, 2021 at 7:05 AM John Seberg via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Not really sure, but I think you need to launch it with an application such as /usr/bin/gtk-launch.<br>
<br>
<a href="https://unix.stackexchange.com/questions/457410/start-desktop-launcher-from-command-line-on-mint" rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/457410/start-desktop-launcher-from-command-line-on-mint</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
On Friday, March 19, 2021, 10:26:06 PM MST, Steve B via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank">plug-discuss@lists.phxlinux.org</a>> wrote: <br>
<br>
<br>
<br>
<br>
<br>
I took Brian's recommendation and created a file in ~/.local/share/applications called sandfox.desktop. Contents of that file are:<br>
<br>
[Desktop Entry]<br>
Encoding=UTF-8<br>
Type=Application<br>
Icon=/home/steve/Pictures/firejailed_firefox128.png<br>
Exec=/usr/bin/firejail --apparmor firefox<br>
Name=Sandboxed Web Browser<br>
Terminal=false<br>
<br>
I have it set to executable but when i try to run it "./sandfox.desktop" I get the error:<br>
./sandfox.desktop: line 1: [Desktop: command not found<br>
./sandfox.desktop: line 5: --apparmor: command not found<br>
./sandfox.desktop: line 6: Web: command not found<br>
<br>
Is my file misconfigured or what do I not have correct?<br>
<br>
<br>
<br>
On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
>  <br>
>  Under debian based distros, overriding an overwrite of ANY installed file is easily done.<br>
> There's a really cool tool called dpkg-divert that the system uses to take whatever files would normally be installed and steer them into a different place so that you can put your own version of the file in the same place without fear of it going away on the next update.<br>
> <br>
> Just do:<br>
> dpkg-divert --add --rename /usr/share/applications/firefox.desktop<br>
> <br>
> In this case, that would be the overkill and less correct way of handing the problem.  A better way would be to put your own version of the firefox.desktop into certain directories and that cause it to override the system version of the config.  Put them in ~/.local/share/applications/ to change an individual user and /usr/local/share/applications/ to effect every user on the system.<br>
> <br>
> Brian Cluff<br>
> <br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>