Run ln using sudo #5682

Closed
opened 2025-12-29 19:31:25 +01:00 by adam · 1 comment
Owner

Originally created by @etcet on GitHub (Nov 18, 2021).

Originally assigned to: @etcet on GitHub.

Change Type

Correction

Area

Installation instructions

Proposed Changes

The ln command in "Schedule the Housekeeping Task" should be run using sudo, or else it fails:

$ ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping
ln: failed to create symbolic link '/etc/cron.daily/netbox-housekeeping': Permission denied
Originally created by @etcet on GitHub (Nov 18, 2021). Originally assigned to: @etcet on GitHub. ### Change Type Correction ### Area Installation instructions ### Proposed Changes The `ln` command in "Schedule the Housekeeping Task" should be run using `sudo`, or else it fails: ``` $ ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping ln: failed to create symbolic link '/etc/cron.daily/netbox-housekeeping': Permission denied ```
adam added the status: acceptedtype: documentation labels 2025-12-29 19:31:25 +01:00
adam closed this issue 2025-12-29 19:31:25 +01:00
Author
Owner

@etcet commented on GitHub (Nov 18, 2021):

https://github.com/netbox-community/netbox/pull/7863

@etcet commented on GitHub (Nov 18, 2021): https://github.com/netbox-community/netbox/pull/7863
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5682