Bug#690773: perl: Module::Build creates non group-writable site directories
Niko Tyni
ntyni at debian.org
Sun May 31 09:50:49 BST 2020
Control: reassign -1 libmodule-build-perl 0.423100-1
Control: retitle -1 libmodule-build-perl: creates non group-writable site directories
On Wed, Oct 17, 2012 at 04:04:02PM +0300, Niko Tyni wrote:
> Package: perl
> Version: 5.14.2-14
>
> Quoting the Debian policy, section 9.1.2:
> http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.1.2
>
> The `/usr/local' directory itself and all the subdirectories
> created by the package should (by default) have permissions 2775
> (group-writable and set-group-id) and be owned by `root:staff'.
>
> We have patched ExtUtils::MakeMaker for ages to set umask appropriately
> for site install directories. See
> http://patch-tracker.debian.org/patch/series/view/perl/5.14.2-14/debian/writable_site_dirs.diff
> http://patch-tracker.debian.org/patch/series/view/perl/5.10.1-17squeeze3/debian/extutils_hacks.diff
>
> It looks like Module::Build needs similar patching:
>
> % sudo rm -rf /usr/local/share/perl /usr/local/lib/perl
> % cpan -i File::BOM
> [...]
> sudo ./Build install -- OK
> % ls -dl /usr/local/lib/perl /usr/local/share/perl
> drwxr-sr-x 3 root staff 4096 Oct 17 15:58 /usr/local/lib/perl
> drwxr-sr-x 3 root staff 4096 Oct 17 15:58 /usr/local/share/perl
This still seems to be the case.
Module::Build is no longer bundled with src:perl, so reassigning.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list