PRTG / PythonMiniProbe

MiniProbe for PRTG Network Monitor written in Python
BSD 3-Clause "New" or "Revised" License
73 stars 50 forks source link

Install script assigns wrong file permissions #1

Closed jboonstra70 closed 9 years ago

jboonstra70 commented 9 years ago

print "Changing File Permissions" os.chmod('%s/probe.py' % probe_path, 755) os.chmod('/etc/init.d/probe.sh', 755) 755 is interpreted as decimal and not octal as intended. Use 0755 (py2) or 0o755 (py3) or decimal 493

konstantinpae commented 9 years ago

solved with last commit. changed to 0755 as the intended target Python version is 2.7.x. In later versions full Python 3 compatibility is planned.