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

Bug#566113: /usr/lib/utempter/utempter has wrong group and permissions



On Wed, Mar 31, 2010 at 11:47:19 +0200, Christoph Pleger wrote:

> On Wed, 31 Mar 2010 09:27:34 +0200
> Julien Cristau <jcristau@debian.org> wrote:
> 
> > How exactly did you build the package?  The packages in the archive
> > have correct permissions (on all architectures)...
> 
> I built it with "dpkg-buildpackage -us -uc -rfakeroot", but with the
> lenny version of debhelper. Maybe that is the reason? If it is, I still

That should fail the build-dependency check, libutempter build-depends
on a newer debhelper than is in lenny.  Or maybe you used a backported
version (which one)?

> wonder why it works that chmod is called before chown. When I execute
> these commands in the same order on the installed
> /usr/lib/utempter/utempter, they definitely remove the setgid
> bit from that file.
> 
Could be a bug in fakeroot.  It intercepts these calls.

(I agree the package is buggy and ought to call chown before chmod; that
doesn't explain what you're seeing though, AFAICT.)

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: