Skip to content

Commit

Permalink
setting owner for source in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Mar 31, 2022
1 parent 51f9db4 commit d9811c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ if ! id -u "${USER}" ; then
chown -R "${USER}:${USER}" "${HOME}"
fi

# set permissions for source code
chown -R "${USER}:${USER}" /opt/arm

# setup needed/expected dirs if not found
SUBDIRS="media media/completed media/raw media/movies logs db Music .MakeMKV"
for dir in $SUBDIRS ; do
Expand All @@ -40,7 +43,7 @@ for conf in $CONFS; do
cp --no-clobber "/opt/arm/setup/${conf}" "${thisConf}"
fi
done
chown -R "${USER}:${USER}" /etc/arm/
chown -R "${USER}:${USER}" /etc/arm

[[ -h /dev/cdrom ]] || ln -sv /dev/sr0 /dev/cdrom

Expand Down

0 comments on commit d9811c5

Please sign in to comment.