diff options
Diffstat (limited to 'applications/luci-app-smbd/root/usr/share')
-rw-r--r-- | applications/luci-app-smbd/root/usr/share/rpcd/acl.d/luci-app-smbd.json | 17 |
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 0000000000..f04985577c --- /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" ] + } + } + } +} |