On Fri, Jun 19, 2009 at 07:18:18PM +0100, Adam D. Barratt wrote:
> On Fri, 2009-06-19 at 13:50 +0300, Peter Pentchev wrote:
> > In version 2.2.10, the list of files examined by collection/strings was
> > limited to those containing ":<whitespace>ELF" to avoid false positives.
> > However, this kind of fails on packages containing setuid, setgid, or
> > sticky binaries *only when the lintian test is run as root*.
> 
> Indeed.  The issue, specifically, is that, when unpacked as a non-root
> user, the extracted file *isn't* setuid as the unpacking user is unable
> to create a file with the relevant permission bit set.

Exactly.  I guess I forgot to mention that in my original mail :)

> Thanks for the patch; for consistency with the expressions used
> elsewhere in Lintian, I've applied a simpler version: "s/:\s+[^,]*\bELF
> \b.+$//g".

Aye, that would work, too.  Thanks for the quick response! :)

G'luck,
Peter

-- 
Peter Pentchev  [email protected]    [email protected]    [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If there were no counterfactuals, this sentence would not have been paradoxical.

Attachment: pgpaInCOWLm2T.pgp
Description: PGP signature

Reply via email to