Root has no permission writing from a LXC container #1403
-
|
Situation Who knows what goes wrong or what is missing? My configuration: fstab /etc/pve/lxc/100.conf |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
You are using idmap. That information is not passed into mergerfs. root in the container is not actually root. It is whatever the mapped uid is. You therefore have to account for that. I mention it here in the docs. You can trivially confirm identity by creating a directory like /tmp with 1777 perms and then create a new file as the user in question. |
Beta Was this translation helpful? Give feedback.
You are using idmap. That information is not passed into mergerfs. root in the container is not actually root. It is whatever the mapped uid is. You therefore have to account for that. I mention it here in the docs.
You can trivially confirm identity by creating a directory like /tmp with 1777 perms and then create a new file as the user in question.