netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.84k stars 568 forks source link

Profile for zed editor. #6540

Closed dmitryvakulenko closed 2 weeks ago

dmitryvakulenko commented 2 weeks ago

Description

I try to make profile for Zed. Everything fine except one thing - when I try to open project through Ctrl-O I get error "ZBus Error: I/O error: failed to read from socket". But system "Open Folder" dialog should be shown. Looks like application has not access to some dbus socket but I can't find out which one. My profile attached. I tried to remove almost all limitation but there was no any effect. Other application works fine using same profiles.

Steps to Reproduce

Launch Zed using attached profile and press Ctrl-O.

Expected behavior

System dialog window "Open folder" will appear.

Actual behavior

Got error "ZBus Error: I/O error: failed to read from socket" and no dialog window.

Behavior without a profile

Everything fine - dialog are shown.

Environment

Linux Mint Cinnamon 22 Wilma. Kernel 6.8.0-45 firejail version 0.9.72

Checklist