summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cifsd/root/usr/share
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-10-17 00:38:49 +0800
committerRichard Yu <yurichard3839@gmail.com>2019-10-17 00:38:49 +0800
commit43f6ca451766a4a32587a85a38cb45e6479fb92e (patch)
treeb08b96082123553c4f1c8c42d631f7584c5521cc /applications/luci-app-cifsd/root/usr/share
parent355223ecdd9f8b7e19f6d8bf5d726ad94f380677 (diff)
luci-app-cifsd: add new package
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'applications/luci-app-cifsd/root/usr/share')
-rw-r--r--applications/luci-app-cifsd/root/usr/share/rpcd/acl.d/luci-app-cifsd.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/applications/luci-app-cifsd/root/usr/share/rpcd/acl.d/luci-app-cifsd.json b/applications/luci-app-cifsd/root/usr/share/rpcd/acl.d/luci-app-cifsd.json
new file mode 100644
index 0000000000..6efebe98e1
--- /dev/null
+++ b/applications/luci-app-cifsd/root/usr/share/rpcd/acl.d/luci-app-cifsd.json
@@ -0,0 +1,15 @@
+{
+ "luci-app-cifsd": {
+ "description": "Grant access to LuCI app cifsd",
+ "read": {
+ "file": {
+ "/etc/cifs/smb.conf.template": [ "read" ]
+ }
+ },
+ "write": {
+ "file": {
+ "/etc/cifs/smb.conf.template": [ "write" ]
+ }
+ }
+ }
+}