summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-09-24 20:08:59 +0200
committerJo-Philipp Wich <jo@mein.io>2021-09-24 20:10:14 +0200
commit1d9067b2715eede8c0e6977f9f1cc77037ff2842 (patch)
tree968b48a959a886bc083f9ee3653e549006645f76 /applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json
parentd4ab37d9a03cce11620414b98137d11d889d8720 (diff)
luci-app-transmission: grant access to group and passwd files
This is required for the user and group ID dropdowns in the configuration. Fixes: #4697 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json')
-rw-r--r--applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json b/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json
index e2fc75d842..f0603d1536 100644
--- a/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json
+++ b/applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json
@@ -3,6 +3,8 @@
"description": "Grant UCI access for luci-app-transmission",
"read": {
"file": {
+ "/etc/group": [ "read" ],
+ "/etc/passwd": [ "read" ],
"/usr/share/transmission/web/index.html": [ "list" ]
},
"ubus": {