[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I control ownership of installed package files?

harpo@udlug.org wrote:

> The short answer is to have them owned by the correct person in the
> debian/tmp (or, which newer debhelper versions, debian/<package>)
> directory.

> For situations where you need a file in debian/tmp to be owned by
> somebody other than root, don't use fakeroot to build the package,
> because it forces everything to look like it's owned by root.  Use
> sudo.

This is bound to be wrong.  builds on other arches are probably
done using fakeroot.

As long as the package is made in the same fakeroot invocation,
it should be okay.

Reply to: