You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/13 05:49:29 UTC

[GitHub] [apisix] membphis opened a new issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

membphis opened a new issue #2405:
URL: https://github.com/apache/apisix/issues/2405


   > What if the user start apisix by sudo? Does the worker still have permission to write logs?
   
   @dabue we need to confirm this case.
   
   original commit: https://github.com/apache/apisix/pull/2374/files#r503639787


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707509390


   I make a test right now, it is fine.
   
   ```
   rm -rf logs
   sudo ./bin/apisix start
   curl http://xxx:9080/hello # for testing
   sudo ./bin/apisix stop
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707866354


   > curl http://xxx:9080/hello # for testing


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707872197


   close this issue first. if you still have question, please feel free to reopen it.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis closed issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
membphis closed issue #2405:
URL: https://github.com/apache/apisix/issues/2405


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis edited a comment on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
membphis edited a comment on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707866354


   > curl http://xxx:9080/hello # for testing
   
   confirmed. both access and error log is fine.
   
   ![image](https://user-images.githubusercontent.com/6814606/95890540-81ee0200-0db6-11eb-8f1c-78cb52bb3ced.png)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] dabue commented on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
dabue commented on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707515654


   I got the same result.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming commented on issue #2405: CLI: What if the user start apisix by sudo? Does the worker still have permission to write logs?

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #2405:
URL: https://github.com/apache/apisix/issues/2405#issuecomment-707828584


   What I really care about is whether the log can be written in


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org