1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Set datadir rights

This commit is contained in:
ericgaspar 2021-07-01 18:31:21 +02:00
parent e1f87c5e58
commit 9e316c22c6
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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

View file

@ -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

View file

@ -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