Skip to content

Commit 9921492

Browse files
committed
fix: change user rights for scripts for native zabbix-agent
1 parent f4b2aa0 commit 9921492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/lib/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def quit_handler(_signo=None, _stack_frame=None):
113113
for key in Scripts.Bash:
114114
with codecs.open(path + "/" + key + ".sh", 'w+', 'utf-8') as f:
115115
f.write(Scripts.Bash[key]) # pass script itself
116-
os.chmod(path + "/" + key + ".sh", 0o744)
116+
os.chmod(path + "/" + key + ".sh", 0o755)
117117
print("Bash scripts for native zabbix agent have been saved to {0}".format(path))
118118
else:
119119
print_total_help()

0 commit comments

Comments
 (0)