I tried to mount a windows share into the Linux server by using the following command:
mount -t cifs -v -o username=myname,password=mypassword // /my/local/pathThen it failed with error: mount error (2): No such file or directory
Also, I tried to mount other paths:
// - mount error(13) Permission Denied
// - mount error(13) Permission Denied
// - successI highly suspect that first 2 paths are not allowed to access by me as the admin added some restriction on them.
Also, I can confirm that the path I want to access is existing as I can see it in Windows File Explorer.
Any ideas why? really appreciated
More Failed Attempts:
-o username=name,password=pass,domain=mydomain,vers=1.0: Mount error: Server abruptly closed the connection.-o username=name,password=pass,domain=mydomain with vers=2.0 or 2.1 or 3.0: failed with mount error (2) No such file or directory
1 Answer
Solved by adding “List Folder” permission to // and //.
So does it mean the folder cannot be mounted and considered as not existing if the user does not have any permission to its parent folders?
2