diff --git a/hosts/by-name/servo/services/transmission/torrent-done b/hosts/by-name/servo/services/transmission/torrent-done index a74dea700..2cccf0303 100755 --- a/hosts/by-name/servo/services/transmission/torrent-done +++ b/hosts/by-name/servo/services/transmission/torrent-done @@ -44,6 +44,7 @@ destructive rsync -rlv "$TR_TORRENT_DIR/" "$MEDIA_DIR/" # make the media rwx by anyone in the group destructive find "$MEDIA_DIR" -type d -exec setfacl --recursive --modify d:g::rwx,o::rx {} \; destructive find "$MEDIA_DIR" -type d -exec chmod g+rw,a+rx {} \; +destructive find "$MEDIA_DIR" -type f -exec chmod g+rw,a+r {} \; # if there's a single directory inside the media dir, then inline that subdirs=("$MEDIA_DIR"/*)