starsz opened a new issue #6735:
URL: https://github.com/apache/apisix/issues/6735
### Description
Hello, I config the Apache APISIX with a user (who only has read permission
of `/apisix/`), and when I start Apache APISIX.
I meet this problem:
```
got malformed key-put message: "{"error":"etcdserver: permission
denied","code":7,"message":"etcdserver: permission denied"}" from etcd
"http://127.0.0.1:2379/v3/kv/put
```
The code is as follow:
https://github.com/apache/apisix/blob/55eb58ab85ac7e108de36271fd9cf29fe2fa3324/apisix/cli/etcd.lua#L310-L365
I think we can avoid adding the `init_dir` if the directory exists.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]