Skip to content

#298 netbox container PermissionError: [Errno 13] Permission denied: '/etc/netbox/config/' #447

Discussion options

You must be logged in to vote

I also experienced this. In my case, it was a problem with my umask setting (077).

The Netbox container mounts some directories from the checked-out git repository (startup_scripts, initializers, configuration, reports, scripts), those appear in the container with the permissions from the host (uid 1000, gid 1000, permissions: 0{6|7}00).

So you either need to adjust the permissions of those directories/files to be world accessible/readable or run Netbox with the same UID as the user who owns the files on the host

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ryanmerolle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants