You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/09/02 15:01:18 UTC

[GitHub] [druid] nestormh commented on issue #9765: Permission denied and ingestion task failure when using docker-compose deployment

nestormh commented on issue #9765:
URL: https://github.com/apache/druid/issues/9765#issuecomment-685794537


   It has been a while, but from what I remember, the problem was that the folder was created as root, but the default user is druid (with uid 1000).
   
   The way I solved it was by stoping all the containers, creating the folders ensuring that there were enough permissions, and then launching everything again.
   
   In other words: 
   ```
   docker-compose down
   mkdir ./storage
   chmod 777 storage         # You might want to test more restrictive permissions, it might even not be necessary
   docker-compose up -d
   ```
   This is by mind, as said, your might want to use more restrictive permissions but this is just to ensure it works.
   
   Also, a more elegant solution would be forcing the storage folder permissions to be created with the proper permissions. But it if just for testing purposes, as it was my case, it just works.
   
   Best regards,
   NĂ©stor


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org