bcliang/docker-libgourou

Bug: improper handling of relative paths

bcliang opened this issue · 0 comments

Docker volumes must be specified as absolute paths. The dedrm.sh helper script attempts to automatically convert a relative path to absolute, but doesn't always work.

When the script fails, user will end up with an extra mount within $(pwd) that is owned by the docker user (default: root) in the form: $(pwd)/$(pwd). Something like /home/myuser/Downloads/home/myuser/Downloads

Obviously, this shouldn't be happening.