mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3799] Viber appimage pausing firejail execution asking to replace mimeapps.list 'overriding mode 0664' #2400
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2400
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svc88 on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3799
Bug and expected behavior
In $HOME, when running:
firejail --appimage --profile="/usr/local/etc/firejail/Viber.profile" viber.AppImageit executes and pauses on the following question:
After which i press enter and then it continues with this:
Then it opens up normally, without any issues it seems.
But my question is, what is this and why does it ask it?
mv: replace '/home/test/.config/mimeapps.list', overriding mode 0664 (rw-rw-r--)?Please note, that the other errors that continue after this
[20:53:1209/010618.570619:ERROR:udev_watcher.cc(48)] Failed to initialize a udev monitor.are only Viber related errors, so ignore those if you try to reproduce this.
Please reproduce with Viber appimage from https://download.cdn.viber.com/desktop/Linux/viber.AppImage
No profile and disabling firejail
firejail --noprofile /path/to/programin a terminal? It runs without the questionwhich <program>orfirejail --listwhile the sandbox is running)? NothingReproduce
Steps to reproduce the behavior:
firejail --appimage --profile="/usr/local/etc/firejail/Viber.profile" viber.AppImagemv: replace '/home/test/.config/mimeapps.list', overriding mode 0664 (rw-rw-r--)?Environment
debug output
@rusty-snake commented on GitHub (Dec 9, 2020):
That's two unrelated issues I guess:
Viber tries to at it has handler for some mimetypes, but
~/.config/mimeapps.listis read-only for security reasons.[20:53:1209/010618.570619:ERROR:udev_watcher.cc(48)] Failed to initialize a udev monitor."
firejail --appimage --protocol=unix,inet,inet6,netlink --profile="/usr/local/etc/firejail/Viber.profile" viber.AppImage@svc88 commented on GitHub (Dec 9, 2020):
Tries to what? Is it trying to override the permissions of mimeapps? What does pressing enter to this cmd do?
seems only
netlinkis missing from Viber.profile. Since i havent noticed any functionality issues when using Viber, isnetlinkreally needed?@rusty-snake commented on GitHub (Dec 16, 2020):
Likely nothing, as it is made ro by firejail and not by filesystem.
@rusty-snake commented on GitHub (Jan 4, 2021):
No, it tries to replace it.
Likely nothing, or at least nothing which affects files outside the sandbox.
If the error says it … Anyway, if nothing is broken w/o it it must not be added (but how do you know nothing is broken?).
@rusty-snake commented on GitHub (Mar 8, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.