今天使用 sudo mount -t smbfs -o noserverino -o username=”***”,uid=***,gid=***,password=*** //win-path /linuxpath
时出现以下问题:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
只需把命令改为如下格式就行了:
sudo mount -t smbfs -o noserverino -o username=”***”,uid=***,gid=*** //win-path /linuxpath
另外,只用mount命令可以查看目前mount了哪些文件夹
umount可以对某个目录取消mount