Problem mounting shared disk from an LXC container

Drthrax74

Well-Known Member
Apr 22, 2019
39
7
48
35
Hello, I would like to add a Windows share (CIFS) under an LXC container.
The editing works from the Proxmox server but the LXC container does not work.

Access via smblicent works but mounting poses a problem for me at the mounting point (Access refuse)


Information:
Code:
Name Share: //192.168.1.10/Film
Mount point: /mnt/Film
username=TEST
password=TEST01


Test direct:
Code:
smbclient //192.168.1.10/Film -U TEST%TEST01


/etc/fstab
Code:
//192.168.1.10/Film /mnt/Film cifs uid=root,username=TEST,password=TEST01 0 0
mount -a

Error Code:
Code:
mount: /mnt/Film: permission denied.