Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SuperHero87

macrumors newbie
Original poster
May 15, 2014
1
0
Hi team, I'm trying to Unzip .gz file but the Error message of " Error 1 operation not permitted" is shown.

I tried using the terminal to unzip the file but couldn't, below is the error message:

*****MacBook-Pro:~ ****$ unzip /Users/*****/Documents/gcc-4.9-bin.tar.gz
Archive: /Users/******/Documents/gcc-4.9-bin.tar.gz
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/*****/Documents/gcc-4.9-bin.tar.gz or
/Users/****/Documents/gcc-4.9-bin.tar.gz.zip, and cannot find /Users/******/Documents/gcc-4.9-bin.tar.gz.ZIP, period.
******-MacBook-Pro:~ ******$


Kindly Help me Urgently.
 
From what I can see, it may be a corrupted zip or an archive created that the terminal commend is incapable of handling. Try using 7-zip its very robust and if that can't do it, I'm not sure any utility will be able too.
 
I have the same problem...
Got the same error massage when unzip through Terminal

Tried gunzip and got the next massage:
gzip: (file path).zip: unknown suffix -- ignored
 
For the O.P., what is the name of the file? It ends in .tar.gz? If so, that can be unpacked by the 'tar' command in the shell directly.

To list the contents:

Code:
tar tvf gcc-4.9-bin.tar.gz

To unpack the contents:

Code:
tar xvf gcc-4.9-bin.tar.gz
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.