-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied error #9
Comments
Are you running Docker on OS X or Windows via docker-machine or boot2docker? In that case you're probably running into this, probably the single worst remaining Docker usability issue for development that I know of: |
Hi @ches thanks for the quick response. Thanks |
What's the command you're using to run the container, and what are the permissions on the directory that you're mounting for the volume? |
What do you think? |
I haven't tested this approach for awhile, it might take some time before I have a chance to, but I would imagine that a kludgey solution to give you a workaround for now is: The longer answer is probably that Docker data volume containers are "the Docker way" to deal with this, but that's ultimately only an indirection. This still boils down to the same root usability needs on the issue I mentioned at first. See also: http://stackoverflow.com/questions/23544282/what-is-the-best-way-to-manage-permissions-for-docker-shared-volumes Hope that helps for now. |
Thanks for the answer, |
@panda87 Did you solve this issue? |
Yes, I set the volume permissions to be ubuntu:ubuntu |
@ches is this suppose to happen when you run on aws ebs? *edited: I am running it via kubernetes. Tried running as root and also fsGroup 1000 (assuming the newly added "kafka" group is 1000) it returns "kafka.common.KafkaException: Found directory /data/lost+found, 'lost+found' is not in the form of topic-partition" Any pointers? |
I was getting this error because /kafka/data was not assigned to the right group/owner. Had to change the group/owner to Kafka and bam! Kafka was up and running. |
Hi
When I'm trying to run the "More complex local development setup" I'm getting the error below,
Someone knows how can I save the data to another location in the file system?
i.e the logs folder will be transparent in my /kafka/logs ?
Thanks
D.
The text was updated successfully, but these errors were encountered: