-
Notifications
You must be signed in to change notification settings - Fork 74
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
"Source name"-field in NAS Mounts influences mount process #70
Comments
We hadn't thought in the eventuality that somebody could use slashes in the "Source name" field :) So we should add a validation check for that field, forbidding the use of special characters. Thank you for spotting the issue. |
:-) I'm glad to help this little bit to improve this great project. But I don't understand why the "Source name" field does interact with the mounting process at all! |
The command we run to mount a source includes the Source Name, so we can reference it by name later. That command doesn't tolerate a "/" in the source name evidently. Without looking at code, I'm not sure if we can allow slashes in source names. (This isn't such a strange requirement, limiting the names of things to certain valid characters. Consider in most operating systems, certain characters aren't permitted in file names, for example.) From: STPKITTmailto:notifications@github.com :-) I'm glad to help this little bit to improve this great project. But I don't understand why the "Source name" field does interact with the mounting process at all! — |
Ok, thanks, I understand the background now. Maybe you could assign a number to every source name and reference the numbers then. |
Hello,
I just found out, that the field "Source name" seems to accidently interact with the mount process instead of just naming the Source name to show that name in the "Network Mounts" list.
For example when I just type the word "Test" into the "Source Name"-field the mount is successfull. But when I name the source for example "//APGen2VDR/Audio/Musik" or "//APGen2VDR" or "APGen2VDR/Audio/Musik" it can't mount the share. The error it shows is:
Couldn't chdir to /mnt/MPD/NAS///APGen2VDR/Audio/Musik: No such file or directory
As soon as you use the "/"-symbol in the "Source name"-field the mount fails. So cleary, the field "Source name" does interact with the mount itself, which it clearly should not do!
EDIT: BTW I wanted to submit at text-file containing the debug data, but I'm missing write permission to this repo.
The text was updated successfully, but these errors were encountered: