Yes, using the --numeric-owner when creating the tarball, fixe the
issue. It would be nice if that was included in the wiki,
somewhere.......
Sean
=======================================
Sean Whitney
PMB #120, 16505A SE First Street
Vancouver, WA 98684
T. 360.607.7945
F. 815.364.0687
aim: seanmwhitney
email: sean@visionary-networks.com
=======================================
On Apr 25, 2008, at 1:03 AM, Kir Kolyshkin wrote:
> Sean Whitney wrote:
>> I don't.
>>
>> When I use vzctl create <VEID> and it untar's the template file, it
>> is changing the UID/GID of the home directories in the tar file
>> from the original UID/GID, to the UID/GID that the same individuals
>> have on the HN.
>>
>> If I peek inside the template file my UID is 1001.
>>
>> On the HN my uid is 501.
>>
>> When I create the VE, my UID inside the VE is now 501, screwing up
>> all kinds of permissions.
>
> Can you check your tarball is correct? Maybe you have to use --
> numeric-owner option to tar when packing it.