Package: dpkg
File: /usr/share/perl5/Dpkg/Source/Package/V3/Quilt.pm
Version: 1.19.0.5
Severity: minor

Dear maintainer,

Dpkg::Source::Package::V3::Quilt unconditionally tries to chmod patches
without checking whether the permissions it would set are already set on
the patch:

        chmod(0666 & ~ umask(), $patch)
            or syserr(g_("unable to change permission of '%s'"), $patch);

In my setup I sometimes want to build source packages from trees that
are not owned by the user calling dpkg-source, so the chmod call fails.
It would be nice if dpkg would check whether the chmod would do
anything, and not try to call it if it would not.

Thanks!

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to