[GH-ISSUE #445] Add support for globbing in private-bin and private-etc #321

Closed
opened 2026-05-05 05:35:43 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @curiosity-seeker on GitHub (Apr 16, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/445

According to man firejail-profile file globbing is supported. However, it seems that it doesn't work with all switches.

E.g., I tried to tighten wine.profile and added the following line:

private-bin wine*,xdg-open,update-desktop-database

When I started the Windows application with the --debug switch I got the following message:

Warning: not all executables from --private-bin list were found. The current list is xdg-open,update-desktop-database

After modifying that line to

private-bin wine,wineserver ....etc.

I didn't get this warning.

If file globbing not being supported with private-bin (and possibly private-etc) is the intentional behavior it should be mentioned in the man page, IMHO.

Originally created by @curiosity-seeker on GitHub (Apr 16, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/445 According to man firejail-profile file globbing is supported. However, it seems that it doesn't work with all switches. E.g., I tried to tighten wine.profile and added the following line: `private-bin wine*,xdg-open,update-desktop-database` When I started the Windows application with the --debug switch I got the following message: `Warning: not all executables from --private-bin list were found. The current list is xdg-open,update-desktop-database` After modifying that line to `private-bin wine,wineserver ....etc.` I didn't get this warning. If file globbing not being supported with private-bin (and possibly private-etc) is the intentional behavior it should be mentioned in the man page, IMHO.
gitea-mirror 2026-05-05 05:35:43 -06:00
Author
Owner

@netblue30 commented on GitHub (Apr 17, 2016):

I'll have to add support for it, thanks!

<!-- gh-comment-id:211011459 --> @netblue30 commented on GitHub (Apr 17, 2016): I'll have to add support for it, thanks!
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 24, 2018):

Globbing was added at some point.

<!-- gh-comment-id:407245191 --> @chiraag-nataraj commented on GitHub (Jul 24, 2018): Globbing was added at some point.
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#321
No description provided.