diff --git a/scripts/install b/scripts/install index cfd0350..fd5c5cd 100644 --- a/scripts/install +++ b/scripts/install @@ -31,6 +31,7 @@ sudo apt-get install transmission-daemon -y -qq # Make directories and set rights sudo mkdir -p /home/yunohost.transmission/{progress,completed} sudo chown -R debian-transmission:www-data /home/yunohost.transmission/ +sudo chown -R debian-transmission:debian-transmission /home/yunohost.transmission/progress sudo find /home/yunohost.transmission/ -type f | while read LINE; do sudo chmod 640 "$LINE" ; done sudo find /home/yunohost.transmission/ -type d | while read LINE; do sudo chmod 750 "$LINE" ; done diff --git a/scripts/upgrade b/scripts/upgrade index 4666283..2902e77 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,6 +16,7 @@ sudo apt-get install transmission-daemon -y -qq # Make directories and set rights sudo mkdir -p /home/yunohost.transmission/{progress,completed} sudo chown -R debian-transmission:www-data /home/yunohost.transmission/ +sudo chown -R debian-transmission:debian-transmission /home/yunohost.transmission/progress sudo find /home/yunohost.transmission/ -type f | while read LINE; do sudo chmod 640 "$LINE" ; done sudo find /home/yunohost.transmission/ -type d | while read LINE; do sudo chmod 750 "$LINE" ; done