[GH-ISSUE #6935] Add a profile for gemini-cli #3424

Closed
opened 2026-05-05 09:59:36 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @aminvakil on GitHub (Oct 12, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6935

I do not like an application running around in my home :) I'd like to grant access to specific directory which I'm willing to work with it by passing directory to firejail to allow temporary in this session.

But I'm doubtful this is the correct approach.

Describe the solution you'd like

I try to create a PR adding this profile. Getting advice from experts here.

Environment

Irrelevant.

Originally created by @aminvakil on GitHub (Oct 12, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6935 ### Is your feature request related to a problem? Please describe. I do not like an application running around in my home :) I'd like to grant access to specific directory which I'm willing to work with it by passing directory to firejail to allow temporary in this session. But I'm doubtful this is the correct approach. ### Describe the solution you'd like ~I try to create a PR adding this profile.~ Getting advice from experts here. ### Environment Irrelevant.
gitea-mirror 2026-05-05 09:59:36 -06:00
Author
Owner

@aminvakil commented on GitHub (Oct 12, 2025):

It creates / needs these directories when I run it like this:

firejail --private=/path/to/directory/ gemini
        .Xauthority
        .bashrc
        .cache/
        .config/
        .gemini/
        .inputrc
        .local/

It should have access to these folders in /home/USER , so it caches appropriately and keeps login credentials.

<!-- gh-comment-id:3394118564 --> @aminvakil commented on GitHub (Oct 12, 2025): It creates / needs these directories when I run it like this: ``` firejail --private=/path/to/directory/ gemini ``` ``` .Xauthority .bashrc .cache/ .config/ .gemini/ .inputrc .local/ ``` It should have access to these folders in /home/USER , so it caches appropriately and keeps login credentials.
Author
Owner

@aminvakil commented on GitHub (Oct 12, 2025):

Sorry for the noise, I didn't see the pinned issue.

<!-- gh-comment-id:3394122361 --> @aminvakil commented on GitHub (Oct 12, 2025): Sorry for the noise, I didn't see the pinned issue.
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#3424
No description provided.