diff options
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.json | 16 |
1 files changed, 16 insertions, 0 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 new file mode 100644 index 0000000000..af3cb8af55 --- /dev/null +++ b/applications/luci-app-samba4/root/usr/share/rpcd/acl.d/luci-app-samba4.json @@ -0,0 +1,16 @@ +{ + "luci-app-samba4": { + "description": "Grant access to LuCI app samba4", + "read": { + "file": { + "/etc/samba/smb.conf.template": [ "read" ], + "/usr/sbin/smbd": [ "exec" ] + } + }, + "write": { + "file": { + "/etc/samba/smb.conf.template": [ "write" ] + } + } + } +} |