New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allowing user-bind paths that include colon in their names #5923
Comments
Hello, This is a templated response that is being sent out to all open issues. We are working hard on 'rebuilding' the Singularity community, and a major task on the agenda is finding out what issues are still outstanding. Please consider the following:
Thanks, |
Hi Arozenfe, with the current state of how Singularity handles bind paths, I can attempt to change the regex that parses bind paths to allow for When you run |
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
…ng syntax: - `singularity shell -B /tmp/comma\\,separated_dir:/data image` - `singularity shell -B "/tmp/comma\,separated_dir":/data image` - `singularity shell -B /tmp/colon\\:sep_dir:/data image` - `singularity shell -B /tmp/"colon\:sep_dir":/data image` - Fixes apptainer#5923 - Fixes apptainer#5959
I'll note that docker solves this with a verbose --mount option: As someone that lives in both worlds, it is nice when the approaches are at least similar. You could probably use --fusemount and some kind of magic, but my preference is to advise people to not use colons in paths :) |
Version of Singularity:
Problem
Singularity cannot bind mount files or directory that include colon in their names. Currently singularity always identifies colons as delimiters.
We need some way to escape special characters like colon from the file/directory name we want to mount, in both the source and the destination.
Steps to reproduce this behavior
We tried to add backslash and quotes in different combinations, but nothing worked.
The text was updated successfully, but these errors were encountered: