Bug#533618: [collection/strings] fails on setuid/setgid/sticky files when run as root
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.
Thanks for the patch; for consistency with the expressions used
elsewhere in Lintian, I've applied a simpler version: "s/:\s+[^,]*\bELF
\b.+$//g".
Regards,
Adam
Reply to: