Closed jmstover closed 5 years ago
this works with
$ singularity exec --pwd /Users/fooo -H /etc:/Users/fooo test.sif bash -c 'pwd'
Not for me from 3.1.0-rc4
$ singularity exec --pwd /Users/fooo -H /etc:/Users/fooo ~/lolcow.sif bash -c 'pwd'
WARNING: cound not set container working directory /Users/fooo: chdir /Users/fooo: no such file or directory
/Users/fooo
I have this version. $ singularity version 3.1.0-29.ga78434c
Found the same issue with 3.1.0-rc4.dirty
.
@jmstover @jscook2345 It works but the warning message reports a false error
Thanks for moving forward with fixing this invalid warning, it has been bugging me!
Version of Singularity:
3.1.0-29.ga78434c
Expected behavior
When using
--home /some/path:/dest/path --pwd /dest/path
... We change to/dest/path
without issue...Actual behavior
Steps to reproduce behavior
Use
--pwd
and-H
in conjunction with each other.... for example: