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

Re: on the use of chmod/chown in maintainer scripts



Roger Leigh <rleigh@codelibre.net> writes:

> With the above approach, the only hard question is how to set the
> ownership during the package build.  fakeroot handles this just fine,
> but it does require the user/group to be present on the build
> system, which will not always be the case.  Is there an alternative
> means to set/override the ownership during packing of a tarfile?

Shouldn't be to hard to make fakeroot also create fake users and groups
specified in debian/passwd and debian/group (or similar).

That just leaves the question of wether dpkg uses uid/gid or symbolic
names when unpacking debs.

MfG
        Goswin


Reply to: