Hi !

Thanks a lot, this works perfect.

Kind regards,

André

Am 22.09.19 um 20:07 schrieb Jo-Philipp Wich:
> 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
> 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to