mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5297] Add electronapps-common.profile #2948
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#2948
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 @ghost on GitHub (Aug 6, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5297
Is your feature request related to a problem? Please describe.
electronmail can't open the file picker. by disabling noroot, it works again. It's an electron app. There's a profile named electron, i assume it's the SDK, noroot is not there.
I think i remember, there was a sticky about electron apps. In general, these are tricky to handle.
Describe the solution you'd like
There should be a electronapps-common to minimize this kind of stuff.
Describe alternatives you've considered
Maybe also use electronapps-common in chromium-common. That's used by a lot of web browsers. Technically, they are a category of electron apps.
So electron-common could be build as a cut down version of chromium-common. That should keep complexity manageable.
@rusty-snake commented on GitHub (Aug 6, 2022):
Here it is: https://github.com/netblue30/firejail/blob/master/etc/profile-a-l/electron.profile
it's just not named
-common.That electronmail needs to be refactored as electron redirect profile I said somewhere else already (but could not find it).
Technical electron is chromium and not the other ways around.
chromium + file-chooser + noroot (i.e. portals with noroot) is tracked in #4716.
@ghost commented on GitHub (Aug 6, 2022):
then, it should be renamed -common. I thought it was the sdk or something. I'm not familiar with electron apps. They are over engineered and try to avoid them.... The description should also be more clear.
Who came first, the chicken or the egg? chromium-common can't technically redirect to electron? They are indeed related.
I wasn't complaining about noroot it self.
@kmk3 commented on GitHub (Aug 6, 2022):
Tagged "notabug" because as mentioned by @rusty-snake, electron.profile
already exists.
Re-closing as "not planned" since nothing was changed in firejail.
@ghost commented on GitHub (Aug 7, 2022):
there's this amusing comment in the electron.profile
Maybe chromium-common and electron should indeed have a common redirect. Maybe call it sandboxed-blink-common or something like that.
And renaming it to electron-common is probably better. You should follow conventions, or people get confused. Just call all profiles that are meant to be redirects -common.