Bug#344958: [Pbuilder-maint] Bug#344958: pbuilder: creates files with
weird owner/group
Junichi Uekawa
dancer at netfort.gr.jp
Wed Jan 4 23:37:56 UTC 2006
Hi,
Thanks for your bugreport.
> Building a package with "sudo pbuilder build --buildtarget foo" puts
> files in foo that are owned by user 1234, group 1234 (neither of which
> exists on the system). (Without --buildtarget they are put
> in /var/cache/pbuilder/result, but the same uid/gid). This seems
> strange.
This is due to pbuilder now running inside fakeroot by default. The
default value '1234' (randomly picked) can be anything that isn't used
by other user, so pbuilder session will have a hard time interacting
with outside of chroot.
For the practical side, it can be overridden with the following:
BUILDRESULTUID=
BUILDRESULTGID=
Set the UID and GID of the files built as result. They probably
need to be set to numeric UID values, so that it works the same
inside the chroot and outside the chroot.
I would consider it appropriate to add documentation with this respect
since default changed.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list