TransWikia.com

I cannot unzip.tgz file in my external hard drive

Ask Ubuntu Asked by ubuntu beginner on December 23, 2021

I tried to unzip my .tgz file in external hard drive (directory: /mnt/e) with

tar -xvzf (filename).tgz

It failed with error message:

tar: Exiting with failure status due to previous errors

Also, I saw a suggestion that "removing -v option will solve this problem."

So, I tried

tar -xzf (filename).tgz

Then, It failed with error message:

Operation not permitted

I tried

sudo tar -xzf (filename).tgz

or

sudo tar -xvzf (filename).tgz

with root account.
It still has same error.

However, I tried unzip in my my internal drive (C drive). Unzip was successfully done.
Why can’t I unzip in my external hard drive?

One Answer

Extract to your external drive with --directory (or -C) option.

Answered by elmclose on December 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP