mount -t cifs 导致“无法挂载只读”错误

Joh*_*ald 20 sharing mount samba networking

我正在尝试挂载位于本地网络上的目录。我在用 :

mount -t cifs -o username=user //192.168.0.106/shared /home/user/point
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

mount: /home/user/point: cannot mount //192.168.0.106/shared read-only.
Run Code Online (Sandbox Code Playgroud)

它通过 Samba 共享。感谢您提供任何答案。

Joh*_*ald 34

解决了。我只需要安装cifs-utils包。

  • 这一定是有史以来最令人困惑的错误。 (9认同)
  • Ubuntu 22.04 LTS 也同样有效 (2认同)