katbyte 40 Posted October 19, 2021 Posted October 19, 2021 Hello, Is there any way to disable the "chown" command that is run every.. single.. time... the docker container/server starts? I have emby running off a network volume that is mounted with the exact permissions emby expects so this is pointless and does nothing, but when the storage appliance is under load can take well over 10 min to finish due to my library size. It would be great to have an option to just skip this step that adds and does nothing for my configuration. Thanks, -kt
Q-Droid 989 Posted October 20, 2021 Posted October 20, 2021 Emby doesn't chown on startup so this must be something the image you're using does. Are you using the official Emby image?
alucryd 315 Posted October 20, 2021 Posted October 20, 2021 We do chown in the startup script, but only if the user or group of the /config volume differs from what you specified as UID and GID env variables. if [ "$(ls -nd /config | tr -s '[:space:]' | cut -d' ' -f3)" -ne "$UID" ] || [ "$(ls -nd /config | tr -s '[:space:]' | cut -d' ' -f4)" -ne "$GID" ]; then chown "$UID":"$GID" -R /config fi Please verify your /config ownership really align. 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now