Hi, > What do I have to do to enable access again, without calling ubus > session grant like in the commit? Thank you!
you need to add the following sections: "superuser": { ... "read": { "file": { "/": [ "stat", "read" ], "/*": [ "stat", "read" ] } }, "write": { "file": { "/": [ "write" ], "/*": [ "write", "exec" ] } } } Depending on your use case, you might not need the "write" and "exec" permissions at all. The "exec" entry will allow invoking commands matching the path "/*" (so, everything) and the "write" permission will allow (over)writing and removing files matching the wildcard path. Regards, Jo
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel