mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3978] android-studio: cannot create the directory #2489
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#2489
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 @gedec-coin-one on GitHub (Feb 12, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3978
run android studio w/ firejail, got:
run android studio directly or w/
firejail --noprofile, it's works.reproduced everytime.
distro: gentoo x64
firejail version: 0.9.64.4
as version: 4.1.2.0.201.7042882
use flags:
Checklist
https://github.com/netblue30/firejail/issues/1139)LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.@rusty-snake commented on GitHub (Feb 12, 2021):
It is
blacklisted in disable-programs.inc, so android-studio.profile needsnoblacklist ${HOME}/.config/Google.7d0b11a084/etc/inc/disable-programs.inc (L100)google-earth.profile has a
noblacklist ${HOME}/.config/Googletoo, so we should consider to add additional blacklists for~/.config/Google/*.@ghost commented on GitHub (Apr 6, 2021):
@rusty-snake I didn't have ~/.config/Google on my system before I installed Google Earth Pro to test it in the context of #3906 (and I have removed it again after seeing how much trouble it brings). Pretty much clueless as to what other apps might this dir I'm afraid.
@i7voodoo commented on GitHub (May 8, 2021):
cd /Applications/Android\ Studio.app/Contents/MacOS
sudo ./studio
@ghost commented on GitHub (May 8, 2021):
The only clue in your message is the unhappy face, which is a bit on the minimalist side :-) So a few questions are in order to try to ascertain what you're doing/expecting:
android-studio.profileandstudio.sh.profile- this implies that Firejail will look for eitherandroid-studioorstudio.shas start commands for Android Studio -studiowill not magically work - so we'd like to know if that ./studio is a shell script (post that as well if so).On a side note, usually you don't start an app in a firejail sandbox by navigating to its location on disk and then entering its start command. Firejail won't be involved in any way when you run something like that (regardless of sudo or not). We can help, but we really need to get some more detailed info on your setup.