Skip to content
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

[BUG] impossible to have spaces in mountpoints paths #682

Open
cyrilst opened this issue Feb 20, 2024 · 0 comments
Open

[BUG] impossible to have spaces in mountpoints paths #682

cyrilst opened this issue Feb 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cyrilst
Copy link
Contributor

cyrilst commented Feb 20, 2024

Description
It's impossible to have spaces in mountpoints paths.

Versions
0.10.20231125
13.2-RELEASE-p10
13.2-RELEASE-p10
13.2-RELEASE-p10

Installation
with pkg

Steps to reproduce
bastille mount azkaban '/host/path with spaces' jail/path does not work. The error is Detected invalid host path or incorrect mount type in FSTAB.

Expected behavior
The mountpoint should allow spaces. I tried manually editing fstab and using the \040 character instead of a space, and it works.

If my understanding is right, this behavior is caused by the use of awk. Using /host\\040with\\040spaces passes the awk test, but then fails the -f test…

@cyrilst cyrilst added the bug Something isn't working label Feb 20, 2024
@cyrilst cyrilst changed the title [BUG] [BUG] impossible to have spaces in mountpoints paths Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant