New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private-cwd not expanding macros (e.g. ${HOME}) #4910
Comments
hyperrogue saves it's game state at |
The fix for #4780 seems to check for relative/absolute path before expanding macros ( |
Ah, I remember that hyperrogue bug. If you use Debian, I fixed that in 12.0f-1 (#985797), otherwise just build with |
Got the same on Debian stable, removed ${HOME} from the profile. This fixes it for the game. "private-cwd" and "private-cwd ${HOME}" should be equivalent. I'll look to see what's going on in the code. Same problem with "firejail --private-cwd='${HOME}' --noprofile ls" |
Nice, it works for me with Can this be closed then? |
Yes, closed! Will reopen again if necessary. |
hyperrogue.profile currently contains the following line:
(it's currently the only profile using
private-cwd
.)When trying to run firejail with this profile it fails with the following error:
Removing
${HOME}
from theprivate-cwd
line fixes it. According to the manpage the home directory is also the default directory when no other directory is specified.Was the
${HOME}
added by accident? Or should this be supported?(Problem was found by Ubuntu CI btw: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/arm64/f/firejail/20220207_124108_3cf17@/log.gz
This will currently prevent the package from entering 22.04 until it is fixed, if I understand their CI correctly.)
The text was updated successfully, but these errors were encountered: