Browsers installed with snap and flatpak sandbox the browser to certain locations on the filesystem. Therefore, temporary profiles created via mktemp or in the default persisted location (~/.config/zsh-aws-vault) fail to launch.
In these cases, we need to create the profile within the sandboxed location.
See the comment threads below where @b-anantha posted some examples.
Workaround
If you've found this bug because you're experiencing an issue, you can work around this by utilizing the "persisted profiles" configuration parameters. For example, if you're using Firefox installed via snap, you could set:
export AWS_VAULT_PL_PERSIST_PROFILE=true
export AWS_VAULT_PL_PERSIST_PROFILE_PATH=$HOME/snap/firefox/common/.mozilla/firefox
This will ensure that avli profiles are created within the snap sandbox path.
Browsers installed with
snapandflatpaksandbox the browser to certain locations on the filesystem. Therefore, temporary profiles created viamktempor in the default persisted location (~/.config/zsh-aws-vault) fail to launch.In these cases, we need to create the profile within the sandboxed location.
See the comment threads below where @b-anantha posted some examples.
Workaround
If you've found this bug because you're experiencing an issue, you can work around this by utilizing the "persisted profiles" configuration parameters. For example, if you're using Firefox installed via
snap, you could set:This will ensure that
avliprofiles are created within the snap sandbox path.