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

Re: Lintian based autorejects



On Sun, Nov 01, 2009 at 03:09:56PM +0100, Luk Claes wrote:
> > E: ftp-master: wrong-file-owner-uid-or-gid
> > N:
> > N:   The user or group ID of the owner of the file is invalid. The owner
> > N:   user and group IDs must be in the set of globally allocated IDs,
> > N:   because other IDs are dynamically allocated and might be used for
> > N:   varying purposes on different systems, or are reserved. The set of the
> > N:   allowed, globally allocated IDs consists of the ranges 0-99,
> > N:   64000-64999 and 65534.

> Hmm, why is 100-999 not mentioned here or does this lintian check only
> check files shipped by the package as opposed to created in the postinst?

Because those IDs are dynamically allocated, so files shipped in the package
belonging to those IDs are not guaranteed to be unpacked correctly -
*unless* the owning user/group is created before unpack, using either a
preinst or a pre-depends.

> If the check is only about files shipped by the package, I see no reason
> how this objection can be anything more than theoretical.

It is about files shipped in the package.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: