Linux Samba cannot mount read-only

Samba server can not mount after Bahrain deepin

westwood@westwood-PC:/tom$ sudo mount -t cifs //10.21.xx.xxx/tom /tom -o username=tom
mount: /tom: cannot mount //10.21.xx.xxx/tom read-only.

Solution

https://superuser.com/questions/515777/error-mounting-samba-share-cannot-mount-block-device-xxxx-read-only

$ ls /sbin/mount.cifs
ls: cannot access /sbin/mount.cifs: No such file or directory
$ mount.cifs
The program 'mount.cifs' is currently not installed.  You can install it by typing:
apt-get install cifs-utils

You can then link the newspaper but premission denied

westwood@westwood-PC:/tom$ sudo mount -t cifs //10.21.76.104/ /tom -o username=tom
Password for tom@//10.21.76.104/:  **********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

https://www.cnblogs.com/paul8339/p/7199520.html

When Linux mount Windows shares, reported the following error:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
解决方法:

User name and password in double quotes

mount -t cifs -o username = "domain \ username", password = "password" //10.72.16.111/test / mnt

Then because the aid sudo to mount, leading to mount the file sharing hard disk inside the only root can all be modified

Here Insert Picture Description
So when you want to mount with the file mask
Here Insert Picture Description
so in addition to the root user without sudo can modify the files inside the

Published 75 original articles · won praise 14 · views 90000 +

Guess you like

Origin blog.csdn.net/qq965194745/article/details/88899905