Skip to content

"cpan -l" as 'root' on initial run breaking non-root Perl users if 'root' umask restrictive to 'root' #193

@MrPippin66

Description

@MrPippin66

On a system with the Perl CPAN module installed, but has never been used, if you run "cpan -l", the initial discovery will cause 'perl5' to be created in all @inc location (if missing) with the umask setting of 'root'. If this is set restrictively (077 for instance), this will break the normal behavior for all non-root Perl users, which will have no read access to those 'perl5' directories.

Perl = 5.26.3-422
Perl CPAN = 2.18-399

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions