I've set up a new Debian 9 (stretch) LXC container on a machine running Proxmox, and installed the
I quickly tested the connection to the SMB server by running
smbclient //192.168.0.2/share -U myusername
which worked fine. However, the command
mount.cifs //192.168.0.2/share /mnt -o user=myusername
failed, printing the following error message:
mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I've made sure that…
- the owner and group of the shared directory (on the SMB server, which is a FreeBSD machine) are both existant on the client, i.e., inside the container.
- the owner of the shared directory is a member of the group, both on the server and the client. (
- the mountpoint (
/mnt) exists on the client.
What could be the cause of the above-mentioned error?