Help with permissions to SMB share from Windows

bumzag

New Member
Feb 11, 2024
1
0
1
Sorry for asking the same question for the billionth time. I have a disk mounted to PVE, with a bind mount to an LXC. I created a SMB and mounted the disk to it. I can connect and read from Windows, but I can't write to it. I can write to it on the LXC. The container is unprivileged. I know it has something to do with GUIDs but I ain't smart enuf to figure it out on my own apparently. Also tried adding ",rw" onto fstab but doesn't seem to have done anything.

I'm sure I missed something. Thanks in advance for any help.

pve:
/etc/fstab
Code:
UUID=[DISK_UUID] /mnt/drive ext4 defaults 0 2

/etc/pve/lxc/100.conf
Code:
mp0: /mnt/drive,mp=/home/user/drive

lxc:
/etc/samba/smb.conf
Code:
[drive]
comment = Files
path = /home/user/drive
browseable = yes
read only = no
guest ok = no
valid users = user

I'm then mapping a network drive using the LXC's IP i.e \\192.168.1.2\drive. I'm using user to connect, and I've set user's password using smbpasswd
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!