Skip to content

Housekeeping script file mode is too restrictive #8512

@abrahamvegh

Description

@abrahamvegh

NetBox version

3.1.6

Python version

3.9

Steps to Reproduce

The mode (UNIX permissions) of the housekeeping script included with NetBox is 644. On Debian (I am running NetBox on Debian 11 'bullseye'), this mode is too restrictive, and run-parts does not run the housekeeping script.

Expected Behavior

The mode of the file included should enable the script to be run automatically, without needing to modify it.

Observed Behavior

In my installation, if I change the mode to 755, run-parts will execute it. I am currently manually doing this every time I update NetBox.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions