[GH-ISSUE #2763] Using --overlay loses user groups #1736

Open
opened 2026-05-05 08:24:29 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @garywill on GitHub (Jun 12, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2763

Hello firejail developers,

I want to use bumblebee optirun in firejail with --overlay.
Without --overlay it works.
With --overlay user's groups other than users are gone, causing bumblebee unusable. Even sudo firejail --join to join it and usermod -aG bumblebee. In /etc/groups shows my user name, but user wasn't really added into that group.

Any solutions?
Thank in advance.

Originally created by @garywill on GitHub (Jun 12, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2763 Hello firejail developers, I want to use bumblebee `optirun` in firejail with `--overlay`. Without `--overlay` it works. With `--overlay` user's groups other than `users` are gone, causing bumblebee unusable. Even `sudo firejail --join` to join it and `usermod -aG bumblebee`. In `/etc/groups` shows my user name, but user wasn't really added into that group. Any solutions? Thank in advance.
gitea-mirror added the
bug
overlayfs
labels 2026-05-05 08:24:29 -06:00
Author
Owner

@rusty-snake commented on GitHub (Jun 14, 2019):

Confirming:

$ firejail --noprofile groups
USER GROUP1 GROUP2 …
$ firejail --noprofile --overlay-tmpfs groups
USER
<!-- gh-comment-id:502027290 --> @rusty-snake commented on GitHub (Jun 14, 2019): Confirming: ``` $ firejail --noprofile groups USER GROUP1 GROUP2 … $ firejail --noprofile --overlay-tmpfs groups USER ```
Author
Owner

@ghost commented on GitHub (Jan 20, 2020):

@garywill @rusty-snake Is this still an issue? If so we should mark it as a bug.

<!-- gh-comment-id:576251706 --> @ghost commented on GitHub (Jan 20, 2020): @garywill @rusty-snake Is this still an issue? If so we should mark it as a bug.
Author
Owner

@garywill commented on GitHub (Jan 21, 2020):

Still an issue in 0.9.62. It's a bug

<!-- gh-comment-id:576531507 --> @garywill commented on GitHub (Jan 21, 2020): Still an issue in 0.9.62. It's a bug
Author
Owner

@ghost commented on GitHub (Jan 21, 2020):

@garywill Thanks for confirming. Marked as bug. Also see #3169.

<!-- gh-comment-id:576541226 --> @ghost commented on GitHub (Jan 21, 2020): @garywill Thanks for confirming. Marked as bug. Also see #3169.
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#1736
No description provided.