Skip to content

CPAN unexpectedly changed permissions #192

@010101010100

Description

@010101010100

We have a Service Now discovery job that gathers SBOM related inventory. One of the commands it executes is cpan -a. This ran realiably for over a year but we recently had a new image deployed and permission changes on the account that included a new umask.

Since this was a new image, cpan -a was executed for the first time and it caused cpan to unexpectedly change the perl directory permissions with the implicit umask settings and caused some breakage. We have another customer running a similar job with Ansible.

Can we fix cpan so it is not unexpectedly changing permissions?

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