0

basically this is my question in stack overflow but not answered yet https://stackoverflow.com/questions/67708710/always-get-permission-denied-on-tar-cannot-mkdir-permission-denied-on-my-kafka

so i just downloaded kafka in binary files (.tgz) and i put that file into my directory /mnt/c:/Program Files/Kafka/

but when i want to un-tar that file with this code

tar -xvf kafka_2.13-2.8.0\ \(1\).tgz

or even with sudo

but i always get notification error

tar: kafka_2.13-2.8.0: Cannot Mkdir: Permission Denied

where my wrong at?

updated : based on @Jagadesh request, here's the result of ls -al

result

i tried with @Jagadesh advice, so i run this :

chmod 755 /mnt/c/"Program Files (x86)"/"Kafka"

but it produce same thing like this :

chmod: changing permissions of '/mnt/c/Program Files (x86)/Kafka' : permission denied

1 Answers1

0

Finally (big thanks to @matigo), After do research, i change the permission on my windows into my users settings to full control, i do this with right click and setting on security based on this article https://www.laptopmag.com/articles/take-ownership-folder-windows-10-using-file-explorer