← Back to team overview

nagios-charmers team mailing list archive

[Bug 1970360] Re: nagios_plugin3.py installed with incorrect permissions

 

** Changed in: charm-nagios
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1970360

Title:
  nagios_plugin3.py installed with incorrect permissions

Status in Nagios Charm:
  Fix Released

Bug description:
  When installing, /usr/local/lib/nagios/plugins/nagios_plugin3.py is
  copied as this:

  -rw-r----- 1 root root  2275 Apr 26 03:29 nagios_plugin3.py

  When running plugins we see the following error:

  Traceback (most recent call last):
    File "/usr/local/lib/nagios/plugins/check_ro_filesystem.py", line 11, in <module>
      from nagios_plugin3 import (
    File "<frozen importlib._bootstrap>", line 971, in _find_and_load
    File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 674, in exec_module
    File "<frozen importlib._bootstrap_external>", line 780, in get_code
    File "<frozen importlib._bootstrap_external>", line 832, in get_data
  PermissionError: [Errno 13] Permission denied: '/usr/local/lib/nagios/plugins/nagios_plugin3.py'

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1970360/+subscriptions



References