docker-webdav-client icon indicating copy to clipboard operation
docker-webdav-client copied to clipboard

Failing to create webdrive user

Open silycr opened this issue 2 years ago • 1 comments

Failing to create "webdrive" as UID 0 being allocated in adduser is already in use causing the cmd to fail.

Lines in files causing issue;

##Dockerfile Ln#20 # User ID of share owner ENV OWNER=0

##docker-entrypoint.sh Ln#48 & 49 if [ $OWNER -gt 0 ]; then adduser webdrive -u $OWNER -D -G users

Suggest changing the Dockerfile ENV OWNER=1000 Tested adding --env "OWNER=1000" \ to docker run and resolved /mnt/webdrive ownership issues mention #16 #12

silycr avatar Jul 28 '23 12:07 silycr

I do not fully understand as when the UID is 0, the if-statement shouldn't have even executed.

efrecon avatar Aug 11 '23 21:08 efrecon