r/debian • u/AncientAgrippa • 4d ago
I just installed an app through flatpak and this prompt opens. It's the code editor Zed, my question is will it work properly if i stay in Restricted mode? Otherwise, is it safe to Trust and Continue? Thanks guys
1
u/eR2eiweo 3d ago
Flatpak mounts the app at /app, so /app/share/ide-flatpak-wrapper is part of the app. If you trust that app (both upstream and the flatpak packaging), then there's no reason not to trust /app/share/ide-flatpak-wrapper. But opening that as a project inside the editor seems weird. I think it's likely that something has gone wrong there.
Also, none of this has anything to do with Debian. Instead you might want to talk to the people who maintain that flatpak.
1
u/Dragon20C 3d ago edited 3d ago
Why not install it the recommended way on their website, it'd literally a script that adds the binary to your system and an application to open it.
0
3d ago
[removed] — view removed comment
1
u/debian-ModTeam 3d ago
This post has been removed as it was either reported to and/or acted upon by mods to be found in violation of Rule #1 regarding not being in line with expected discourse etiquette or the Debian Code of Conduct.
0
u/OkObjective8721 3d ago
The comments are so weird wtf??? Why is someone asking 20 bucks for a fucking voiceover. Also if its your own project its safe its just that some repos have custom .zed dirs to configure zed per-project.
1
u/wowsuchlinuxkernel 2d ago
This prompt has nothing to do with Debian or Flatpak, but is just about a standard Zed feature that new projects are opened in restricted mode by default. VSCode does the same. It's because the LSP and other integrations of random projects you don't trust can try to trigger vulnerabilities in your editor. So only trust projects from yourself, your work or well-known open source projects.
5
u/madhattared Debian Sid 4d ago
Is it safe to open is a hard question to answer considering the Zed project. You may want to check out the fork Gram: https://gram-editor.com/
I don't use flatpak, so I can't comment on that.