[pve-devel] [PATCH container] Fix restore with multiple mountpoints

Tom Weber pve at junkyard.4t2.com
Mon Oct 9 14:34:04 CEST 2017

Anyone care about this?
I have two cases of containers were i have to manually fix after a


Am Dienstag, den 26.09.2017, 15:29 +0200 schrieb Tom Weber:
> If you use mountpoints inside a container, and change ownership of
> these, a restore of the CT will reset them to root:root again.
> That's because the whole CT FS gets prepared and mounted together
> with
> (of course) an owner of root:root for the mp.
> As tar uses the option --skip-old-files it won't touch these dirs
> then.
> I don't see why one would need --skip-old-files for a restore job (or
> did I miss something?)
> Tom Weber (1):
>   remove --skip-old-files from tar restore options
>  src/PVE/LXC/Create.pm | 5 -----
>  1 file changed, 5 deletions(-)

More information about the pve-devel mailing list