summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba4/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-15 11:48:11 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-15 11:48:11 +0200
commit09a84607508f289488d7185692ed8e9eb66053ac (patch)
tree4ce4a0e1ac55d47ff65f4590e3f3f2411f18ac38 /applications/luci-app-samba4/root/usr/share/rpcd
parent0e22d4d87e9965a2ff74707d309a1bbb3c8334a2 (diff)
luci-app-samba4: add uci ACL rules
Fixes: #3918 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-samba4/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json b/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json
index af3cb8af55..388d6a9eae 100644
--- a/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json
+++ b/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json
@@ -5,12 +5,14 @@
"file": {
"/etc/samba/smb.conf.template": [ "read" ],
"/usr/sbin/smbd": [ "exec" ]
- }
+ },
+ "uci": [ "samba4" ]
},
"write": {
"file": {
"/etc/samba/smb.conf.template": [ "write" ]
- }
+ },
+ "uci": [ "samba4" ]
}
}
}