diff --git a/conf/settings.json b/conf/settings.json index e54ceea..58e4911 100644 --- a/conf/settings.json +++ b/conf/settings.json @@ -65,7 +65,7 @@ "speed-limit-up-enabled": false, "start-added-torrents": true, "trash-original-torrent-files": false, - "umask": 18, + "umask": 2, "upload-limit": 100, "upload-limit-enabled": 0, "upload-slots-per-torrent": 14, diff --git a/scripts/install b/scripts/install index 1524eee..a58177c 100644 --- a/scripts/install +++ b/scripts/install @@ -101,7 +101,7 @@ mkdir -p $datadir/{progress,completed,watched} chown -R debian-transmission:www-data $datadir chown -R debian-transmission: $datadir/{progress,watched} chmod -R 764 $datadir -chmod -R 777 $datadir/watched +chmod -R 770 $datadir/watched #================================================= # CONFIGURE TRANSMISSION diff --git a/scripts/restore b/scripts/restore index 7883f38..d3b24bc 100644 --- a/scripts/restore +++ b/scripts/restore @@ -102,7 +102,7 @@ mkdir -p $datadir/{progress,completed,watched} chown -R debian-transmission:www-data $datadir chown -R debian-transmission: $datadir/{progress,watched} chmod -R 640 $datadir -chmod -R 777 $datadir/watched +chmod -R 770 $datadir/watched #================================================= # YUNOHOST MULTIMEDIA INTEGRATION diff --git a/scripts/upgrade b/scripts/upgrade index ca19a18..424e9d6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,7 +104,7 @@ mkdir -p $datadir/{progress,completed,watched} chown -R debian-transmission:www-data $datadir chown -R debian-transmission: $datadir/{progress,watched} chmod -R 764 $datadir -chmod -R 777 $datadir/watched +chmod -R 770 $datadir/watched #================================================= # CONFIGURE TRANSMISSION