[PR #2255] [MERGED] Allow prefixing colon to profile argument of --profile to for a profile search #4241

Closed
opened 2026-05-05 10:16:24 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2255
Author: @crass
Created: 11/9/2018
Status: Merged
Merged: 11/14/2018
Merged by: @netblue30

Base: masterHead: fix-profile-name-handling


📝 Commits (1)

  • 49fef2f Allow prefixing colon to profile argument of --profile to for a profile search, and disallow a directory to match as a profile file.

📊 Changes

2 files changed (+4 additions, -3 deletions)

View changed files

📝 src/firejail/main.c (+3 -2)
📝 src/man/firejail.txt (+1 -1)

📄 Description

I ran into this while executing digikam with firejail while in the current directory there was a file named digikam. So firejail was trying to read that file as a profile file. This patch would allow me to use --profile=:digikam to force digikam to do a profile search instead of looking in the current directory for profiles.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/2255 **Author:** [@crass](https://github.com/crass) **Created:** 11/9/2018 **Status:** ✅ Merged **Merged:** 11/14/2018 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `fix-profile-name-handling` --- ### 📝 Commits (1) - [`49fef2f`](https://github.com/netblue30/firejail/commit/49fef2fda9eba6e9f627feeb7af509a473920545) Allow prefixing colon to profile argument of --profile to for a profile search, and disallow a directory to match as a profile file. ### 📊 Changes **2 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/main.c` (+3 -2) 📝 `src/man/firejail.txt` (+1 -1) </details> ### 📄 Description I ran into this while executing digikam with firejail while in the current directory there was a file named `digikam`. So firejail was trying to read that file as a profile file. This patch would allow me to use `--profile=:digikam` to force digikam to do a profile search instead of looking in the current directory for profiles. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:16:24 -06:00
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#4241
No description provided.