mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3912] Chrome not working due to symlink. #2452
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#2452
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 @panbroggi on GitHub (Jan 23, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3912
Hi everyone!
I am using firejail version 0.9.64 with google-chrome-unstable with KaOS.
While the simple
firejail --noprofile google-chrome-unstableworks, the default commandfails. The output is
The problem is that
/home/panbroggi/Scaricati(which is the italian Download folder) is a symbolic link to/mnt/Storage/Scaricati. I've tried to edit the profile and if I replacewhitelist ${DOWNLOADS}withmkdir ${HOME}/Scaricatiit starts, obviously without keeping the download folder.I've tried using firetools and this configuration works:
https://imgur.com/a/GOHsh5Z
while this does not:
https://imgur.com/a/9hxYJjd
What should I do to set it up correctly?
@smitsohu commented on GitHub (Jan 23, 2021):
/etc/firejail/firejail.config has a setting
Could that be the reason?
@panbroggi commented on GitHub (Jan 23, 2021):
This is the case. Changing the owner solves the problem.
Thank You!
@ghost commented on GitHub (Jan 24, 2021):
Closing here as the issue is fixed.
@panbroggi commented on GitHub (Jan 30, 2021):
Updating to 0.9.64.2 broke the configuration. I tried to comment
disable-mntin the profile, but the browser sees the symlink (a 0 B file) and the content is no more accessible. Is it possible to adjust the settings or a downgrade is the only solution?EDIT: commenting
disable-mntactually worked; I then manually blacklisted all the folders in /mnt/Storage except for the linked one.@rusty-snake commented on GitHub (Jan 30, 2021):
Then you can add one of the following to your
google-chrome-unstable.local.EDIT: fixed typo
@panbroggi commented on GitHub (Jan 30, 2021):
Oh, thanks! Adding the lines before including
chromium-common.profileis actually the proper way.In case someone needs to copy paste the code, there's a small typo:
balcklist /media/instead ofblacklist /media/.