mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
Currently it is not possible to use XDG-related macros (such as
`${DOCUMENTS}`) with subpaths (such as `${DOCUMENTS}/foo`) and so
profiles just use `${HOME}` with a hardcoded path using the English
directory name and the subpath (such as `${HOME}/Documents/foo`).
Allow using subpaths after XDG macros, so that they automatically use
the auto-detected XDG path, just as when currently using the XDG macros
without subpaths.
Before:
${HOME}/Documents/foo
After:
${DOCUMENTS}/foo
This is a follow-up to #7147.
Closes #2359.
Relates to #4229.
6 lines
254 B
Text
6 lines
254 B
Text
whitelist ${DESKTOP}/_firejail_test_dir/a
|
|
whitelist ${DOCUMENTS}/_firejail_test_dir/a
|
|
whitelist ${DOWNLOADS}/_firejail_test_dir/a
|
|
whitelist ${MUSIC}/_firejail_test_dir/a
|
|
whitelist ${PICTURES}/_firejail_test_dir/a
|
|
whitelist ${VIDEOS}/_firejail_test_dir/a
|