On MacOSX 10.10.5, I opened a Terminal window, and did this:mount -t smbfs //accountname:password@server/path ./localdirand I got this error:mount_smbfs: mount error: /Users/accountname/localdir: Operation not supported by deviceThis had been working the day before on the same computer. Leaving that terminal window open, I opened another. In the second window, the command works.I have double checked, the folder was not already mounted in the other window. I can do umount ./localdir in the second window, and it works. Afterward, the mount command still fails in the first window, but works in the second.The reason this is a problem is that we got the same error from the command when executing it in a bash script in a Jenkins build, run under the same accountname.Where should I be looking for the problem here?
How can a mount command fail in one terminal window, but not in another?
osx