[SOLVED] clone machine to CT

indeed, it seems like that. i'm guessing this is because of a missing rsync flag like -o to preserve owners..
I'm pretty sure I used the -o flag (I have used -avx) and I think that's the problem; furthermore I think that changing the owner/group file from root to 100000 can't solve the problem because all files that are not owned by root:root continue to be owned by uid/gid that potentially can be mapped on some uid/gid of the node.

If I've well understood should we have to add 100000 to the numeric uid/gid for each file/dir/ln the rootfs... but I don't know how can be possible.

Ant way Oguz thenk you very much I begun to understand privileges in CT

Best regards

Piviul
 
Last edited:
furthermore I think that changing the owner/group file from root to 100000 can't solve the problem because all files that are not owned by root:root continue to be owned by uid/gid that potentially can be mapped on some uid/gid of the node.

If I've well understood should we have to add 100000 to the numeric uid/gid for each file/dir/ln the rootfs... but I don't know how can be possible.
yeah, that would solve it i think. it'd be possible, you can write a script to get the owner uid/gid of each file and increment it by 100000.

but i guess it'll be better if you just redo the container :)

Ant way Oguz thenk you very much I begun to understand privileges in CT
you're very welcome