matrixji commented on PR #5583:
URL: 
https://github.com/apache/incubator-devlake/pull/5583#issuecomment-1623639641

   > @klesh No luck, same error. It looks like this 
[line](https://github.com/apache/incubator-devlake/blame/55e6835f87a752d1a182350fb0b1a6c34ff41c5f/backend/impls/logruslog/stream.go#L31)
 keeps creating a logs/ directory with 0755 permissions even though 
`os.ModePerm` is supposed to be an alias for 0777. This causes the error on L37 
when the log file tries to get made. 
![image](https://user-images.githubusercontent.com/25063936/251377587-3dadec38-3990-4224-b5d4-23a5de237f8a.png)
   
   Have U try do the below operation in your local host before starting the 
containers by docker-compose:
   ```
   chown -R 1010:1010 logs/
   ```
   
   Maybe we use a named volume in docker-compose.yml is easier, but I think 
developers wants to see logs frequently.


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

Reply via email to