Hi,
I'm attempting to unmount a windows share that was mounted via the following command:
sudo mount -t cifs //machineName/c$ ~/windowsmachine/ -o credentials=.pass,iocharset=utf8,noexec,ro
The above command is part of script that mounts windows shares on the network and copies their shortcuts to a folder on my Ubuntu box, it's been running fine for ages but somehow it's got itself into a twist.
Windows shares are mounted with an ordinary account that has sudoers rights to the mount/umount commands.
I've deleted and recreated the mount point - ~/windowsmachine
still no luck.
Keeps giving the below error:
xxxx:~$ sudo umount ~/windowsmachine/
This utility only unmounts cifs filesystems.
This utility only unmounts cifs filesystems.
I've tried the -f (force) option still no luck!
I've tried an account that has sudo (root) privileges, still no luck.
I've got a few other mounts to windows shares on the go, so I don't want to kill anything that will make them die.
Shall I just reboot and live with it? I hate rebooting as it brings into question why I switched to Linux in the first place.
Thanks
John
Bookmarks