Skip to content

Commit

Permalink
Merge pull request #775 from tcely/patch-5
Browse files Browse the repository at this point in the history
Remove unnecessary `chmod` executions
  • Loading branch information
meeb authored Feb 26, 2025
2 parents ff91cbf + fff42ce commit 3f6da71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/root/etc/s6-overlay/s6-rc.d/tubesync-init/run
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ chown -R app:app /config
chmod -R 0755 /config
chown -R root:app /app
chmod -R 0750 /app
chmod 0755 /app/*.py /app/*.sh
find /app -mindepth 2 -type f -execdir chmod 640 '{}' +
chown -R app:app /app/common/static
chmod -R 0750 /app/common/static
chown -R app:app /app/static
chmod -R 0750 /app/static
find /app -type f ! -iname healthcheck.py -exec chmod 640 {} \;
chmod 0755 /app/healthcheck.py

# Optionally reset the download dir permissions
if [ "${TUBESYNC_RESET_DOWNLOAD_DIR:=True}" == "True" ]
Expand Down

0 comments on commit 3f6da71

Please sign in to comment.