Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin_conf_dir_mode too strict for /usr/lib/python2.7/site-packages/ #879

Open
yorickps opened this issue May 7, 2019 · 1 comment
Open
Labels
bug Something isn't working

Comments

@yorickps
Copy link

yorickps commented May 7, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: puppet-agent-5.5.3-1.el7.x86_64
  • Ruby: ruby-2.0.0.648-34.el7_6.x86_64
  • Distribution: CentOS 7.6.1810
  • Module version: 10.1.0

How to reproduce (e.g Puppet code you use)

Run puppet agent

What are you seeing

The module sets the permissions to 750 for /usr/lib/python2.7/site-packages/ breaking a lot of tools that end users can use on a shared system and that need to be executable from the aforementioned directory.

The module sets the mode via $plugin_conf_dir_mode, which is by default set to 750 for all plugin directories.

What behaviour did you expect instead

Do not touch the permissions for /usr/lib/python2.7/site-packages/

@juniorsysadmin juniorsysadmin added the bug Something isn't working label May 9, 2019
xandm added a commit to kcl-nmssys/puppet-collectd that referenced this issue Mar 2, 2020
@traylenator
Copy link
Contributor

I think generally just because collectd module is configured to use a directory it should not change the permissions of a directory.

It's the job of the thing deploying modules to set permissions if appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants