[GH-ISSUE #5055] Add option to automatically create symlink on sandbox activation #2865

Closed
opened 2026-05-05 09:31:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @jose1711 on GitHub (Mar 16, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5055

In my homedir I have a symbolic link pointing to a directory on a separate filesystem. I would like to use whitelist in my profile but at the same time I want to be able to use the symlink instead of the actual path.

Describe the solution you'd like

Ideally there is a new option, similar to mkfile and mkdir that would make the symlink automatically.

Describe alternatives you've considered

It's possible to join the sandbox and create the symbolic link manually.

firejail --join=XYZ
ln -s /path/outside/of/home symbolic_link
# use $HOME/symbolic link in the program

Additional context

n/a

Originally created by @jose1711 on GitHub (Mar 16, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5055 ### Is your feature request related to a problem? Please describe. In my homedir I have a symbolic link pointing to a directory on a separate filesystem. I would like to use `whitelist` in my profile but at the same time I want to be able to use the symlink instead of the actual path. ### Describe the solution you'd like Ideally there is a new option, similar to `mkfile` and `mkdir` that would make the symlink automatically. ### Describe alternatives you've considered It's possible to join the sandbox and create the symbolic link manually. ``` firejail --join=XYZ ln -s /path/outside/of/home symbolic_link # use $HOME/symbolic link in the program ``` ### Additional context n/a
gitea-mirror 2026-05-05 09:31:29 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@jose1711 commented on GitHub (Mar 17, 2022):

Looks like an error in configuration as symbolic links is properly being propagated to sandbox if it's mentioned in whitelist together with the location it is pointing to. Closing.

<!-- gh-comment-id:1071644279 --> @jose1711 commented on GitHub (Mar 17, 2022): Looks like an error in configuration as symbolic links is properly being propagated to sandbox if it's mentioned in `whitelist` together with the location it is pointing to. Closing.
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#2865
No description provided.