← Back to team overview

nagios-charmers team mailing list archive

[Merge] ~xavpaice/nagios-charm:lp1623658 into nagios-charm:master

 

Xav Paice has proposed merging ~xavpaice/nagios-charm:lp1623658 into nagios-charm:master.

Requested reviews:
  Nagios Charm developers (nagios-charmers)

For more details, see:
https://code.launchpad.net/~xavpaice/nagios-charm/+git/nagios-charm/+merge/329344

fix for https://bugs.launchpad.net/nagios-charm/+bug/1623658
-- 
Your team Nagios Charm developers is requested to review the proposed merge of ~xavpaice/nagios-charm:lp1623658 into nagios-charm:master.
diff --git a/hooks/upgrade-charm b/hooks/upgrade-charm
index d6f03e3..9ba994b 100755
--- a/hooks/upgrade-charm
+++ b/hooks/upgrade-charm
@@ -106,7 +106,7 @@ def enable_livestatus_config():
         os.chown(livestatus_dir, uid, gid)
         st = os.stat(livestatus_path)
         os.chmod(livestatus_path, st.st_mode | stat.S_IRGRP)
-        os.chmod(livestatus_dir, st.st_mode | stat.S_IRGRP | stat.S_ISGID)
+        os.chmod(livestatus_dir, st.st_mode | stat.S_IRGRP | stat.S_ISGID | stat.S_IXUSR | stat.S_IXGRP)
 
 
 def enable_pagerduty_config():

Follow ups