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

Bug#895370: lintian: maintainer-script-should-not-use-recursive-chown-or-chmod should also look for find.*exec.*chown



On Tue, Apr 10, 2018 at 06:37:06PM +0100, Chris Lamb wrote:
> Thanks for looking at this. Fixed in Git with a testcase, pending upload:
> 
>   https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=52e1bfac52ddba315ba66778570eb00b10c473de

Dang you're quick! :)

> (Can you point to a package that appears to have moved to find(1) to bypass
> the Lintian warning? I looked at lava-server but could not see anything in
> the changelog that was relevant.)

There are a bunch. An example dkg gave me is:

https://salsa.debian.org/ruby-team/schleuder/commit/644ad3de296e3328ca6ed0e70a41b30515e33b4a

then he also found this:

https://sources.debian.org/src/4store/1.1.6+20151109-2/debian/4store.init/?hl=47#L47

Then of course there's the broader:

https://codesearch.debian.net/search?q=find.*exec.*chown&perpkg=1

At the time of writing:

112256 files grepped (75 results)

Cheers!

A.

Attachment: signature.asc
Description: PGP signature


Reply to: