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
At this point $HOME will be "/home/sec/test/" and not "/home/sec/test", which means that every script that relies on $HOME is now compromised.
This will usually result something such as "$HOME/somepath" expanding into "/home/sec/test//somepath ".
Expected behavior:
$HOME should not have a trailing forward slash and every software relying on $HOME should work correctly.
Logs:
The file output.log along with a podman.log produced with podman logs test1 > podman.logs are atttached: output.log podman.log
Desktop:
Podman 5.2.3
Distrobox 1.7.2.1 installed trough rpm-ostree (system package manager and system repo)
Host system: Fedora Silverblue 40
The text was updated successfully, but these errors were encountered:
To Reproduce:
Simply create a new new container, but when specifying a custom home, put a trailing forward slash.
For example, do not use "/somepath/customhome" but use "/somepath/customhome/"
In my exact case
distrobox create -i alpine:latest -n test1 -H /home/sec/test/ --verbose &> output.log
distrobox enter test1
At this point
$HOME
will be "/home/sec/test/" and not "/home/sec/test", which means that every script that relies on $HOME is now compromised.This will usually result something such as "$HOME/somepath" expanding into "/home/sec/test//somepath ".
Expected behavior:
$HOME should not have a trailing forward slash and every software relying on $HOME should work correctly.
Logs:
The file output.log along with a podman.log produced with
podman logs test1 > podman.logs
are atttached:output.log
podman.log
Desktop:
The text was updated successfully, but these errors were encountered: