Browse Source

Change owner to transmission user for all transmission folders. #423 #435

master
Kristian Haugene 6 years ago
parent
commit
32c0b1002f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      transmission/userSetup.sh

+ 2
- 2
transmission/userSetup.sh View File

@@ -10,9 +10,9 @@ if [ -n "$PUID" ] && [ ! "$(id -u root)" -eq "$PUID" ]; then
if [ ! "$(id -g ${RUN_AS})" -eq "$PGID" ]; then groupmod -o -g "$PGID" ${RUN_AS} ; fi

echo "Setting owner for transmission paths to ${PUID}:${PGID}"
chown -R ${RUN_AS}:${RUN_AS} ${TRANSMISSION_HOME}
chown ${RUN_AS}:${RUN_AS} \
chown -R ${RUN_AS}:${RUN_AS} \
/config \
${TRANSMISSION_HOME} \
${TRANSMISSION_DOWNLOAD_DIR} \
${TRANSMISSION_INCOMPLETE_DIR} \
${TRANSMISSION_WATCH_DIR}

Loading…
Cancel
Save