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
This works, but creates a dissonance if the users's real (host) homedir is set to something other than /home. This is especially apparent when using $HOME in volumes:
Since $HOME is expanded in the host environment, it is wrong inside the container.
Now, similar to #213, we could add a SCUBA_USER_HOME variable which expands to the same thing used by scubainit. But I think it's easier to reason about if $HOME follows the same pattern as $PWD and the host and container paths match (even if $HOME isn't mounted automatically.)
The text was updated successfully, but these errors were encountered:
Currently, when
scubainit
creates the users's$HOME
directory (in the container):scuba/scubainit/scubainit.c
Lines 650 to 653 in c6f3e62
It uses a hard-coded
/home
:scuba/scubainit/scubainit.c
Line 30 in c6f3e62
This works, but creates a dissonance if the users's real (host) homedir is set to something other than
/home
. This is especially apparent when using$HOME
involumes
:Since
$HOME
is expanded in the host environment, it is wrong inside the container.Now, similar to #213, we could add a
SCUBA_USER_HOME
variable which expands to the same thing used byscubainit
. But I think it's easier to reason about if$HOME
follows the same pattern as$PWD
and the host and container paths match (even if$HOME
isn't mounted automatically.)The text was updated successfully, but these errors were encountered: