summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
index 3013b35dba..287110f4d5 100644
--- a/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
+++ b/applications/luci-app-cloudflared/root/usr/share/rpcd/acl.d/luci-app-cloudflared.json
@@ -7,13 +7,16 @@
"service": [ "list" ]
},
"file": {
- "/var/log/cloudflared.log": [ "read" ],
- "/usr/bin/cloudflared *": [ "exec" ]
+ "/etc/cloudflared/*": [ "read" ],
+ "/var/log/cloudflared.log": [ "read" ]
}
},
"write": {
"uci": [ "cloudflared" ],
- "file": [ "/etc/cloudflared/" ]
+ "file": {
+ "/etc/cloudflared/*": [ "write" ],
+ "/usr/bin/cloudflared *": [ "exec" ]
+ }
}
}
} \ No newline at end of file