Skip to content
Discussion options

You must be logged in to vote

and I've tried CHMOD 600 and CHOWN root:root like the other folders

That will make things worse, not better.

If you are running in the standard way, you'll find netbox is running as the "netbox" user. That means that this user must be able to read all the python library files.

The files should be mode 644, and the directories should be mode 755, to make them accessible to all users.

find /opt/netbox -type f -print0 | xargs -0 chmod 644
find /opt/netbox -type d -print0 | xargs -0 chmod 755

It's not really important whether they're owned by root:root or netbox:netbox. (I leave them mostly owned as root:root for slightly better security, however the media directory has to be owned by netb…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant