Permission denied from root within LXC to mergerfs storage

Jonathan137

Member
Dec 30, 2021
3
0
6
59
Situation
Within LXC 100 being user 1000 I can read and write to both /mnt/storage as /mnt/music
Being the root within the LXC I can read and write to /mnt/music but only read to /mnt/storage
If I make a folder with 777 as permission, I can write as root in that folder showing the owner root:root
Being on proxmox level self I can write as root to /mnt/storage.

Who knows what goes wrong or what is missing?



My configuration:
mergerfs v2.40.1

fstab
LABEL=disk43 /mnt/pve/music ext4 nofail 0 0
/mnt/pool/disk81:/mnt/pool/disk82:/mnt/pool/disk61:/mnt/pool/disk62:/mnt/pool/disk63 /mnt/pve/storage fuse.mergerfs defaults,allow_other,category.create=mfs,minfreespace=100G,use_ino,dropcacheonclose=true,ignorepponrename=true,moveonenospc=true 0 0

/etc/pve/lxc/100.conf
features: keyctl=1,fuse=1,nesting=1
mp0: /mnt/pve/storage,mp=/mnt/storage
mp1: /mnt/pve/music,mp=/mnt/music
lxc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: g 1000 1000 1
lxc.idmap: u 1001 101000 64534
lxc.idmap: g 1001 101000 64534
 

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!