[GH-ISSUE #2290] Error running Franz appimage #1530

Closed
opened 2026-05-05 08:11:27 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @nemokapetanos on GitHub (Dec 5, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2290

Hi,

I get the following error when I run Franz with firejail:

firejail --appimage ./franz-5.0.0-beta.19-x86_64.AppImage
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 23310, child pid 23314
Dropping all Linux capabilities and enforcing default seccomp filter
Child process initialized in 75.12 ms
{ Error: EACCES: permission denied, mkdir '/home/nemo/.config/Franz/recipes/temp'
    at Object.fs.mkdirSync (fs.js:885:18)
    at Object.mkdirsSync (/run/firejail/appimage/.appimage-23310/resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9)
    at Object.emptyDirSync (/run/firejail/appimage/.appimage-23310/resources/app.asar/node_modules/fs-extra/lib/empty/index.js:34:18)
    at Object.<anonymous> (/run/firejail/appimage/.appimage-23310/resources/app.asar/index.js:38:18)
    at Object.<anonymous> (/run/firejail/appimage/.appimage-23310/resources/app.asar/index.js:210:3)
    at Module._compile (module.js:642:30)
    at Object.Module._extensions..js (module.js:653:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/home/nemo/.config/Franz/recipes/temp' }

Parent is shutting down, bye...

I'm running firejail version 0.9.52 that is packaged with Ubuntu Mate 18.04. What do I need to do to run the Franz appimage in Firejail?

Thanks!

Originally created by @nemokapetanos on GitHub (Dec 5, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2290 Hi, I get the following error when I run Franz with firejail: ``` firejail --appimage ./franz-5.0.0-beta.19-x86_64.AppImage Reading profile /etc/firejail/default.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc ** Note: you can use --noprofile to disable default.profile ** Parent pid 23310, child pid 23314 Dropping all Linux capabilities and enforcing default seccomp filter Child process initialized in 75.12 ms { Error: EACCES: permission denied, mkdir '/home/nemo/.config/Franz/recipes/temp' at Object.fs.mkdirSync (fs.js:885:18) at Object.mkdirsSync (/run/firejail/appimage/.appimage-23310/resources/app.asar/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js:31:9) at Object.emptyDirSync (/run/firejail/appimage/.appimage-23310/resources/app.asar/node_modules/fs-extra/lib/empty/index.js:34:18) at Object.<anonymous> (/run/firejail/appimage/.appimage-23310/resources/app.asar/index.js:38:18) at Object.<anonymous> (/run/firejail/appimage/.appimage-23310/resources/app.asar/index.js:210:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) errno: -13, code: 'EACCES', syscall: 'mkdir', path: '/home/nemo/.config/Franz/recipes/temp' } Parent is shutting down, bye... ``` I'm running firejail version 0.9.52 that is packaged with Ubuntu Mate 18.04. What do I need to do to run the Franz appimage in Firejail? Thanks!
gitea-mirror 2026-05-05 08:11:27 -06:00
Author
Owner

@smitsohu commented on GitHub (Dec 5, 2018):

firejail --appimage ./franz-5.0.0-beta.19-x86_64.AppImage
Reading profile /etc/firejail/default.profile

Firejail picks the default profile, which leads to ~/.config/Franz being blacklisted. And then this happens:

Error: EACCES: permission denied, mkdir '/home/nemo/.config/Franz/recipes/temp'

So you would need to start it like: firejail --appimage --profile=/etc/firejail/franz.profile ./franz-5.0.0-beta.19-x86_64.AppImage

<!-- gh-comment-id:444492102 --> @smitsohu commented on GitHub (Dec 5, 2018): > firejail --appimage ./franz-5.0.0-beta.19-x86_64.AppImage Reading profile /etc/firejail/default.profile Firejail picks the default profile, which leads to ~/.config/Franz being blacklisted. And then this happens: > Error: EACCES: permission denied, mkdir '/home/nemo/.config/Franz/recipes/temp' So you would need to start it like: `firejail --appimage --profile=/etc/firejail/franz.profile ./franz-5.0.0-beta.19-x86_64.AppImage`
Author
Owner

@nemokapetanos commented on GitHub (Dec 6, 2018):

Thank you for that information! When I ran the command you suggested, I get the following error message:

Reading profile /etc/firejail/franz.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 20656, child pid 20659
Dropping all Linux capabilities and enforcing default seccomp filter
Error: --shell=none configured, but no program specified

Parent is shutting down, bye...
AppImage unmounted

Which shell do I need to specify? Thanks again for the help!

<!-- gh-comment-id:444707756 --> @nemokapetanos commented on GitHub (Dec 6, 2018): Thank you for that information! When I ran the command you suggested, I get the following error message: ``` Reading profile /etc/firejail/franz.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Parent pid 20656, child pid 20659 Dropping all Linux capabilities and enforcing default seccomp filter Error: --shell=none configured, but no program specified Parent is shutting down, bye... AppImage unmounted ``` Which shell do I need to specify? Thanks again for the help!
Author
Owner

@smitsohu commented on GitHub (Dec 6, 2018):

It looks like this is a bug that got fixed in version 0.9.54, the relevant commit is 1738bbf718

You will need to upgrade your Firejail. For Ubuntu/Mint there is a PPA which should keep you up to date.

<!-- gh-comment-id:444861184 --> @smitsohu commented on GitHub (Dec 6, 2018): It looks like this is a bug that got fixed in version 0.9.54, the relevant commit is 1738bbf7181d6c3b6d9f82bfa5b3f6d21ad503c3 You will need to upgrade your Firejail. For Ubuntu/Mint there is a [PPA](https://launchpad.net/~deki/+archive/ubuntu/firejail) which should keep you up to date.
Author
Owner

@smitsohu commented on GitHub (Dec 6, 2018):

Or, alternatively, if you don't want to upgrade, what should also work is firejail --appimage --ignore=shell --profile=/etc/firejail/franz.profile ./franz-5.0.0-beta.19-x86_64.AppImage

<!-- gh-comment-id:444861778 --> @smitsohu commented on GitHub (Dec 6, 2018): Or, alternatively, if you don't want to upgrade, what should also work is `firejail --appimage --ignore=shell --profile=/etc/firejail/franz.profile ./franz-5.0.0-beta.19-x86_64.AppImage`
Author
Owner

@nemokapetanos commented on GitHub (Dec 7, 2018):

Thank you for all that information and help! I ran the last command and Franz works perfectly. The only small issue I have is that in the window title bar it says that I'm running Franz as a superuser - which I think isn't correct. This is probably a Ubuntu Mate bug, could you please just confirm that this isn't the case for my own peace of mind :)

<!-- gh-comment-id:445110565 --> @nemokapetanos commented on GitHub (Dec 7, 2018): Thank you for all that information and help! I ran the last command and Franz works perfectly. The only small issue I have is that in the window title bar it says that I'm running Franz as a superuser - which I think isn't correct. This is probably a Ubuntu Mate bug, could you please just confirm that this isn't the case for my own peace of mind :)
Author
Owner

@nemokapetanos commented on GitHub (Dec 7, 2018):

Either way, I will upgrade Firejail to the newest version. Has your development team considered packaging Firejail as a snap or a flatpak? That would be easier for managing dependencies for newbies like me :)

<!-- gh-comment-id:445110948 --> @nemokapetanos commented on GitHub (Dec 7, 2018): Either way, I will upgrade Firejail to the newest version. Has your development team considered packaging Firejail as a snap or a flatpak? That would be easier for managing dependencies for newbies like me :)
Author
Owner

@smitsohu commented on GitHub (Dec 7, 2018):

the window title bar it says that I'm running Franz as a superuser - which I think isn't correct. This is probably a Ubuntu Mate bug

yes, it is known bug in Mate.

<!-- gh-comment-id:445223491 --> @smitsohu commented on GitHub (Dec 7, 2018): > the window title bar it says that I'm running Franz as a superuser - which I think isn't correct. This is probably a Ubuntu Mate bug yes, it is known bug in Mate.
Author
Owner

@nemokapetanos commented on GitHub (Dec 8, 2018):

Thanks for confirming that bug - that's given me some peace of mind :)

<!-- gh-comment-id:445415322 --> @nemokapetanos commented on GitHub (Dec 8, 2018): Thanks for confirming that bug - that's given me some peace of mind :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1530
No description provided.