I know it's a common post on here, but I haven't been able to piece together how to make this work. I've got a Turnkey Torrent CT that runs transmission, with a debian-trasmission user/group at 109:115. I would like to be able to mount a directory from the Proxmox host (e.g., /mnt/hdd/folder) to the CT so that it can be used for Trasmission torrent storage. I have changed ownership of the /mnt/hdd/folder to be 1005:1005, and added the following to my /etc/pve/lxc/101.conf:
With this, I successfully change ownership inside the container so that debian-transmission owns the mounted folder, but then I lose ownership of /etc/tramission-daemon/settings.json (now set to nobody:nogroup. Because of that, Transmission can't start. How do I keep ownership of files on the CT as they are, while adding permission to the mounted directory?
Or... am I doing this whole thing wrong? Basically, I want to use an HDD for a bunch of different storage things attached to a variety of containers, and still be able to make some available via Samba shares. I'd like to do it in the best way, so if there's a best practice I'm missing, please let me know
Code:
lxc.idmap: u 0 100000 109
lxc.idmap: u 109 1005 1
lxc.idmap: u 110 100110 65425
lxc.idmap: g 0 100000 115
lxc.idmap: g 115 1005 1
lxc.idmap: g 116 100116 65419
With this, I successfully change ownership inside the container so that debian-transmission owns the mounted folder, but then I lose ownership of /etc/tramission-daemon/settings.json (now set to nobody:nogroup. Because of that, Transmission can't start. How do I keep ownership of files on the CT as they are, while adding permission to the mounted directory?
Or... am I doing this whole thing wrong? Basically, I want to use an HDD for a bunch of different storage things attached to a variety of containers, and still be able to make some available via Samba shares. I'd like to do it in the best way, so if there's a best practice I'm missing, please let me know