Hi,
I currently building my home lab and I have multiple vm (unprivileged) that share a proxmox's directory :
https://www.reddit.com/r/Proxmox/comments/1m8pkqw/yet_another_dumb_unprivileged_lxc_mount/
So with the command "chown -R 101000:101000 /mnt/hostStorage" I could write on the mounted folders from VMs.
Step 1 : ok
After this first step, I had set up samba on host to see these folders from my pc with an user : sambauser.
I could connect to smb share from my computer but I couldn't write on these folders.
So I edited the id of this user to 101000 to match the permission of smb's folder and be able to write on them.
But...
Now I can't write on the mounted folders from VMs anymore. I guess I broke something by changing the id of sambauser.
Do you have an idea how to combine the two features ? And how to repare the step 1 ?
Thanks for your help.
Edit : I've found a solution with this site :
https://gist.github.com/ajmassi/e6862294d114467b46f9b7f073921352
I currently building my home lab and I have multiple vm (unprivileged) that share a proxmox's directory :
- qBittorrent
- Sonarr
- Radarr
- Jellyfin
https://www.reddit.com/r/Proxmox/comments/1m8pkqw/yet_another_dumb_unprivileged_lxc_mount/
So with the command "chown -R 101000:101000 /mnt/hostStorage" I could write on the mounted folders from VMs.
Step 1 : ok
After this first step, I had set up samba on host to see these folders from my pc with an user : sambauser.
I could connect to smb share from my computer but I couldn't write on these folders.
So I edited the id of this user to 101000 to match the permission of smb's folder and be able to write on them.
But...
Now I can't write on the mounted folders from VMs anymore. I guess I broke something by changing the id of sambauser.
Do you have an idea how to combine the two features ? And how to repare the step 1 ?
Thanks for your help.
Edit : I've found a solution with this site :
https://gist.github.com/ajmassi/e6862294d114467b46f9b7f073921352
Last edited: