Skip to content

Install script assigns wrong file permissions #1

@jboonstra70

Description

@jboonstra70

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions