最近不知在哪一次的升級, Samba 的 Mount 的指令突然不能用了.
Samba Mount 指令:
sudo mount -t smbfs -o password='' -o iocharset=utf8 //192.168.0.1/upload /media/upload
都會出現下述的錯誤:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
找不到其它解答, 就開始裝些 Samba client 來找找指令, 裝了
- pyneighborhood: A GTK+ application that allows you to browse network shares
- tksmb: SMB (Samba and Windows) network browser
- xsmbrowser: X11 tool for navigating SMB Networks
就靠 xsmbrowser 來找到指令(忘記是撈程式還是從哪看到), 先趕快記起來:
sudo mount -t smbfs -o password='' -o ip=192.168.0.1,workgroup=WORKGROUP,guest,r -o iocharset=utf8 //192.168.0.1/upload /media/upload