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
/etc/pve/lxc/100.conf
lxc:
/etc/samba/smb.conf
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
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: