From 7c31a104981bd7d873d6ac96e734bf46ee75def5 Mon Sep 17 00:00:00 2001 From: GlassedSilver Date: Wed, 4 May 2022 17:23:04 +0200 Subject: [PATCH] ux/guidance improvements --- fix-scripts/001-fix_download_permissions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fix-scripts/001-fix_download_permissions.sh b/fix-scripts/001-fix_download_permissions.sh index c64ab05..45a96aa 100644 --- a/fix-scripts/001-fix_download_permissions.sh +++ b/fix-scripts/001-fix_download_permissions.sh @@ -14,6 +14,7 @@ PATH_SUBS=/app/subscriptions PATH_AUDIO=/app/audio PATH_VIDS=/app/video +clear -x echo "\n" printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - # horizontal line echo "Welcome to the INTERACTIVE PERMISSIONS FIX SCRIPT FOR YTDL-M." @@ -49,6 +50,8 @@ if echo "$answer" | grep -iq "^y" ;then [ -d $PATH_VIDS ] && chown "$UID:$GID" -R $PATH_VIDS && echo "āœ” Set owner of ${PATH_VIDS} to ${USER}." [ -d $PATH_VIDS ] && chmod 644 -R $PATH_VIDS && echo "āœ” Set permissions of ${PATH_VIDS} to 644." echo "\nāœ” Done." + echo "\n If you noticed file access errors those MAY be due to currently running downloads." + echo " Feel free to re-run this script, however download parts should have correct file permissions anyhow. :)" exit else echo "\nOkay, bye."