Housekeeping script file mode is too restrictive #6036

Closed
opened 2025-12-29 19:35:56 +01:00 by adam · 2 comments
Owner

Originally created by @abrahamvegh on GitHub (Feb 1, 2022).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @abrahamvegh on GitHub (Feb 1, 2022). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the type: bugstatus: accepted labels 2025-12-29 19:35:56 +01:00
adam closed this issue 2025-12-29 19:35:56 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 1, 2022):

Thanks for taking the time to submit a bug report for this, which incidentally was more effort than the fix. 🙂

@jeremystretch commented on GitHub (Feb 1, 2022): Thanks for taking the time to submit a bug report for this, which incidentally was more effort than the fix. :slightly_smiling_face:
Author
Owner

@abrahamvegh commented on GitHub (Feb 1, 2022):

Thanks for I think the fastest resolution + fix I’ve ever seen on a major project issue, although it was admittedly quite a simple fix. 😅

@abrahamvegh commented on GitHub (Feb 1, 2022): Thanks for I think the fastest resolution + fix I’ve ever seen on a major project issue, although it was admittedly quite a simple fix. 😅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6036