From 9a82c952b447b9b3145c288957dbd1a671021f1b Mon Sep 17 00:00:00 2001 From: Josef Zila Date: Thu, 18 Jun 2020 12:52:43 +0200 Subject: [PATCH] transmission: add access to web interface files to procd jail Signed-off-by: Josef Zila --- net/transmission/Makefile | 2 +- net/transmission/files/transmission.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/transmission/Makefile b/net/transmission/Makefile index 0e26a52cd3..37d6398ac7 100644 --- a/net/transmission/Makefile +++ b/net/transmission/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=transmission PKG_VERSION:=3.00 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master diff --git a/net/transmission/files/transmission.init b/net/transmission/files/transmission.init index eb49b64678..2421572772 100644 --- a/net/transmission/files/transmission.init +++ b/net/transmission/files/transmission.init @@ -160,6 +160,7 @@ transmission() { procd_add_jail_mount_rw "$config_dir/blocklists" procd_add_jail_mount_rw "$config_dir/stats.json" procd_add_jail_mount_rw "$download_dir" + [ -d "$web_home" ] && procd_add_jail_mount_rw "$web_home" procd_close_instance } -- 2.30.2