git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e05c219
)
luci-app-frpc: add uci file read permissions
author
Huangbin Zhan
<redacted>
Thu, 7 May 2020 09:36:45 +0000
(17:36 +0800)
committer
zhanhb
<redacted>
Thu, 7 May 2020 09:39:41 +0000
(17:39 +0800)
Signed-off-by: Huangbin Zhan <redacted>
applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
patch
|
blob
|
history
diff --git
a/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
index 8567eb3f3a8c1ff1120f43cff96179c77e536987..b2bb22325ab78073e57c76cbe82087e3e4d7e4a9 100644
(file)
--- a/
applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
+++ b/
applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json
@@
-2,6
+2,10
@@
"luci-app-frpc": {
"description": "Grant access to LuCI app frpc",
"read": {
+ "file": {
+ "/etc/passwd": ["read"],
+ "/etc/group": ["read"]
+ },
"uci": ["frpc"]
},
"write": {
git clone https://git.99rst.org/PROJECT