mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5095] tutanota-desktop: Cannot start application: Permission denied #2879
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#2879
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 @NCLI on GitHub (Apr 6, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5095
debug.txt
Description
The tutanota-desktop client fails to launch using firejail.
Steps to Reproduce
LC_ALL=C firejail /usr/bin/tutanota-desktop(LC_ALL=Cto get a consistent output in English that can be understood by everybody)Cannot start application: Permission deniedExpected behavior
The tutanota-desktop client window appears
Actual behavior
Fails with error "Cannot start application: Permission denied".
Behavior without a profile
The application launches correctly.
Additional context
The application is installed from the aur, using the 'tutanota-desktop' package.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@ghost commented on GitHub (Apr 8, 2022):
I think your issue is caused by including disable-shell.inc. The AUR package installs a shell wrapper in /usr/bin/tutanota-desktop and that needs bash. Also, the tutanota-desktop.desktop file installed by the AUR package refers directly to /opt/tutanota-desktop/tutanota-desktop, instead of refering to the wrapper. This could throw of firecfg I suppose. Another issue with the AUR packages IMO is that they don't install /opt/tutanota-desktop/chrome-sandbox as 4755, which cripples the internal sandbox. I've reported this to the AUR maintainer for both tutanota-desktop and tutanota-desktop-bin. We'll have to wait and see if there's any response.
But IMO you can try the below
tutanota-desktop.localto fix things:Can you test on your side if things improve when using the above
tutanota-desktop.local? We can make the necessary changes to the profile later if it works. I only installed the package and it starts correctly, but I don't have any actual account to properly test it. Would be nice if you could check if all the basic functionality is working as expected.@ghost commented on GitHub (Apr 15, 2022):
UPDATE: the maintainer of the AUR packages has implemented proposed fixes and the latest tutanota-desktop package now symlinks /opt/tutanota-desktop/tutanota-desktop in /usr/bin/tutanota-desktop (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tutanota-desktop#n52). So things should work again
withoutincludingallow-bin-sh.inc.@ghost commented on GitHub (Apr 24, 2022):
@NCLI Do you still have this issue with the latest tutanota-desktop package?
@ghost commented on GitHub (May 4, 2022):
Closing here due to inactivity. Issue should be solved anyway.