OSDN Git Service

luci-app-amule: fix incorrect jail rules
authorTianling Shen <cnsztl@immortalwrt.org>
Sun, 20 Feb 2022 13:59:16 +0000 (21:59 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Sun, 20 Feb 2022 13:59:16 +0000 (21:59 +0800)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
applications/luci-app-amule/root/etc/init.d/amule

index 1a2813b..0453852 100755 (executable)
@@ -159,7 +159,8 @@ amule() {
        fi
 
        procd_add_jail amule log
-       procd_add_jail_mount_rw $config_file
+       procd_add_jail_mount_rw /usr/share/amule/
+       procd_add_jail_mount_rw $config_dir
        procd_add_jail_mount_rw $incoming_dir
        procd_add_jail_mount_rw $temp_dir
        procd_close_instance