You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to whitelist certain dirs in /local/ because a program needs a write access there.
Reproduce
Steps to reproduce the behavior:
create a profile containing "whitelist /local/path/to/dir"
See error Error: invalid whitelist path /local/path/to/dir
Environment
firejail version 0.9.64.4
Compile time support:
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is disabled
- private-home support is enabled
- private-cache and tmpfs as user enabled
- SELinux support is disabled
- user namespace support is enabled
- X11 sandboxing support is enabled
Additional context
Other context about the problem like related errors to understand the problem.
on my system /local/ is not a separated partition nor a dedicated mount point but just a subdirectory of / (root partition)
Checklist
[v] I have performed a short search for similar issues (to avoid opening a duplicate).
after finding this: #739 I believe it is a limitation within firejail
[v] Used LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM to get english error-messages.
--whitelist=dirname_or_filename
Whitelist directory or file. A temporary file system is mounted on the top directory, and the
whitelisted files are mount-binded inside. Modifications to whitelisted files are persistent,
everything else is discarded when the sandbox is closed. The top directory could be user home, /dev, /etc, /media, /mnt, /opt, /run/user/$UID, /srv, /sys/module, /tmp, /usr/share and /var.
Bug and expected behavior
I want to whitelist certain dirs in /local/ because a program needs a write access there.
Reproduce
Steps to reproduce the behavior:
Error: invalid whitelist path /local/path/to/dir
Environment
firejail version 0.9.64.4
Compile time support:
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- D-BUS proxy support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is disabled
- private-home support is enabled
- private-cache and tmpfs as user enabled
- SELinux support is disabled
- user namespace support is enabled
- X11 sandboxing support is enabled
Additional context
Other context about the problem like related errors to understand the problem.
on my system /local/ is not a separated partition nor a dedicated mount point but just a subdirectory of / (root partition)
Checklist
after finding this: #739 I believe it is a limitation within firejail
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAM
to get english error-messages.The text was updated successfully, but these errors were encountered: