Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Kali Linux:; unzip: Cannot create extraction directory?

Trying to run this command:

unzip -q openvpn.zip -d /etc/openvpn

But this error occurs:

checkdir: Cannot create extraction directory: /etc/openvpn

No such File or directory.

I know that the command is correct because it worked on another machine. Any suggestions? Thanks

Update:

Am I right in saying that the directory should be created if it does not yet exist or do I need to create it first?

3 Answers

Relevance
  • 4 years ago

    1

  • 6 years ago

    1. Do an ls / 2. When you run anything outside your home directory, make sure you have the right permissions. Are you root or do you use sudo to make directories in /etc?

  • 6 years ago

    Try creating the directory first. It sounds to me as if you don't have write permission for the /etc directory. If so, you'll have to use "sudo md /etc/openvpn", assuming you're on the sodoers list.

Still have questions? Get your answers by asking now.