Bug#798252: [build-rdeps] should not search /var/lib/apt/lists/partial

James Cowgill james410 at cowgill.org.uk
Mon Sep 7 11:21:15 UTC 2015


Package: devscripts
Version: 2.15.8
Severity: normal
Tags: patch
File: /usr/bin/build-rdeps
User: devscripts at packages.debian.org
Usertag: build-rdeps

Hi,

apt 1.1 in experimental now sets the permissions of the apt partial
directory (/var/lib/apt/lists/partial) to 700 which causes build-rdeps
to output this warning every time it is used:

> Can't cd to (/var/lib/apt/lists/) partial: Permission denied
>  at /usr/bin/build-rdeps line 310

Since that directory only contains partial source lists, build-rdeps
should simply not search that directory (or any subdirectories in
/var/lib/apt/lists).

I've atttached a patch which uses glob instead of find so that
subdirectories are not searched.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-rdeps-non-recursive.patch
Type: text/x-patch
Size: 767 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150907/6b973d33/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150907/6b973d33/attachment.sig>


More information about the devscripts-devel mailing list