[pve-devel] [PATCH container] Fix restore with multiple mountpoints
Tom Weber
pve at junkyard.4t2.com
Tue Sep 26 15:29:50 CEST 2017
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(-)
--
2.7.4
More information about the pve-devel
mailing list