[GH-ISSUE #3212] Cannot open /etc/firejail/kate.profile with kate #2008

Closed
opened 2026-05-05 08:40:47 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ericschdt on GitHub (Feb 9, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3212

Kate's profile seems to be very restrict. However, I see no reason to not to be able to open any files e.g. under /etc if it's not restricted by the file mode setting (rwxrwxrwx).

kate /etc/firejail/kate.profile shows me a blank file and going over the context menu of kate, I ain't see the firejail folder at all.

Is this intended? How can I make it less restrict? I don't want to edit a file under /etc necessarily with Kate (I won't run it as root), but I would like to view it with this app at least. With cat it's absolutely working fine.

System

Manjaro KDE

Originally created by @ericschdt on GitHub (Feb 9, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3212 Kate's profile seems to be very restrict. However, I see no reason to not to be able to open any files e.g. under /etc if it's not restricted by the file mode setting (rwxrwxrwx). `kate /etc/firejail/kate.profile` shows me a blank file and going over the context menu of kate, I ain't see the firejail folder at all. Is this intended? How can I make it less restrict? I don't want to edit a file under /etc necessarily with Kate (I won't run it as root), but I would like to view it with this app at least. With `cat` it's absolutely working fine. #### System Manjaro KDE
Author
Owner

@rusty-snake commented on GitHub (Feb 9, 2020):

firejail --profile=kate cat /etc/firejail/kate.profile works for me. Have you enabled the private-etc line? If so add firejail.

<!-- gh-comment-id:583839028 --> @rusty-snake commented on GitHub (Feb 9, 2020): `firejail --profile=kate cat /etc/firejail/kate.profile` works for me. Have you enabled the `private-etc` line? If so add `firejail`.
Author
Owner

@ericschdt commented on GitHub (Feb 9, 2020):

firejail --profile=kate cat /etc/firejail/kate.profile works for me. Have you enabled the private-etc line? If so add firejail.

I hadn't, but once I uncommented, removed machine-id as whitelist /var/lib/dbus/machine-id is the wrong path or changing it to whitelist /var/lib/dbus and adding firejail made it working. Thanks!

<!-- gh-comment-id:583840011 --> @ericschdt commented on GitHub (Feb 9, 2020): > `firejail --profile=kate cat /etc/firejail/kate.profile` works for me. Have you enabled the `private-etc` line? If so add `firejail`. I hadn't, but once I uncommented, removed `machine-id` as `whitelist /var/lib/dbus/machine-id` is the wrong path or changing it to `whitelist /var/lib/dbus` and adding `firejail` made it working. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2008
No description provided.