-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
borg mount fails silently on trailing spaces #4221
Comments
IIRC, any trailing arguments will be interpreted to match archive contents. So, if you give the empty string there, it won't match anything. |
Reproduced with borg 1.2.4+. This is done in
|
…s-1.4 PATH: do not accept empty strings, fixes #4221
This issue is just one of multiple issues, other commands could also be strangely affected:
This is why I used |
borg 1.4 is fixed by #8005. |
…s-master PATH: do not accept empty strings, fixes #4221
Your borg version (borg -V).
borg 1.1.8
Operating system (distribution) and version.
Debian buster
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg mount --prefix clientname /path/to/repo emptydir ""
Describe the problem you're observing.
borg mount silently fails when a command contains trailing spaces, as the one above. Of course I do not type such commands, but they occur as the result of bash scripts expansion of empty parameters, for example.
borg mount does mount the repo and the archives appear in 'emptydir', but they are all empty.
The text was updated successfully, but these errors were encountered: