[SOLVED] Somewhere after Updating to v9.x LXC resource mounts get file permissions reset

liszca

Well-Known Member
May 8, 2020
94
1
48
24
On an LXC container I got an additional mount point (ceph RBD) for mariadb like this
Code:
/var/lib/mysql

I gave it the owner:
Code:
chown mariadb: /var/lib/mysql

but after an restart its owner is again root.

Did I miss a change how Mount Points work? Can it be changed?

Did a quick fix in crontab. but how is it supposed to be handled?
 
Last edited:
Try updating PVE. There was a permission issue in the pve-container package recently that sounds like this.
 
  • Like
Reactions: liszca