Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why? "Permission denied" #17

Open
probonopd opened this issue Aug 18, 2017 · 4 comments
Open

Why? "Permission denied" #17

probonopd opened this issue Aug 18, 2017 · 4 comments

Comments

@probonopd
Copy link
Member

Firejail related?

The AppImage runs just fine on my local machine without Firejail.

firejail ./DeviceInterface-x86_64.AppImage �/bin/bash: /run/firejail/appimage/.appimage-7979/AppRun: Permission denied

https://travis-ci.org/AppImage/AppImageHub/builds/266091972#L555

@probonopd
Copy link
Member Author

May be caused by Firejail? #456 (comment)

@simoniz0r
Copy link
Contributor

I'm pretty sure this happens when the AppImage unmounts itself before the next command can run. The only solution I've really found for this is to move the component that is being called out of the AppImage temporarily and call it from the directory I've moved it to. I've tried adding sleeps and such, but no dice.

For example, with ROSA ImageWriter, it needs to be ran as root with something like xdg-su. xdg-su will run fine, but the AppImage seems to unmounts itself as soon as xdg-su finishes running unless I move the RosaImageWriter executable outside of the AppImage and call it from there.

@probonopd
Copy link
Member Author

Many apps have this "permission denied" thing:
https://github.com/AppImage/appimage.github.io/search?q=%22permission+denied%22&type=Issues

Why?

@probonopd probonopd changed the title False alarm: Permission denied Why? "Permission denied" Apr 19, 2019
@probonopd
Copy link
Member Author

probonopd commented May 11, 2019

Seems to be related to Firejail. E.g., #1025 (comment) shows how to verify this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants