summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2019-12-31 15:22:36 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2020-01-04 05:31:04 +0100
commit5912474500429ade30c2d38db077933b375e40ff (patch)
tree294af455010f3a1ea6faedfcb1c5540417e3856c /applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json
parentd844caf13787a66a5deac438d9f28746b79136ff (diff)
luci-app-smbd: rename change cifsd->smbd
* update for name change cifsd->smbd * add version code for: kmod, usmbd * regen translations * update acl's Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json')
-rw-r--r--applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json b/applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json
new file mode 100644
index 000000000..f04985577
--- /dev/null
+++ b/applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json
@@ -0,0 +1,17 @@
+{
+ "luci-app-smbd": {
+ "description": "Grant access to LuCI app smbd",
+ "read": {
+ "file": {
+ "/etc/smbd/smb.conf.template": [ "read" ],
+ "/usr/sbin/usmbd": [ "exec" ],
+ "/sbin/modinfo": [ "exec" ]
+ }
+ },
+ "write": {
+ "file": {
+ "/etc/smbd/smb.conf.template": [ "write" ]
+ }
+ }
+ }
+}