Error 1—won't unzip a .gz archive's… file.

Discussion in 'macOS' started by ThePhantomCampe, Aug 24, 2013.

  1. ThePhantomCampe macrumors newbie

    Joined:
    Aug 24, 2013
    Location:
    New England
    #1
    Hello, all. Brief disclosure: I did search for this already, and came across a couple relevant-ish threads, but nothing matched my issue. Hoping for some better results.

    So some time ago, I downloaded an archive (entitled "jelvinjs7.gz") that contains (some parts of) a website that I had been working on. When I open it, it creates a separate file (entitled "jelvinjs7") that then attempts to open, but I get the evil "Unable to expand 'jelvinjs7' into 'Desktop'. ("Error 1 - Operation Not Permitted.)" message.

    I am not sure what the file type is. I have tried using other applications, but I cannot figure out what to do with this file, and how to open it.

    Er… help??
     
  2. subsonix macrumors 68040

    Joined:
    Feb 2, 2008
    #2
    Is the file protected in some way, or has permissions set to someone other than you? The file may also be missing an extension, which means that double clicking it wont work. What do you expect the file to contain?
     
  3. ScoobyMcDoo, Aug 25, 2013
    Last edited: Aug 25, 2013

    ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #3
    open a terminal window. Then first just unzip the file with the command:

    Code:
    cd to-whatever-directory-the-file-is-in
    gunzip jelvinjs7.gz
    
    Now, you should see the file in the same directory with the name jelvinjs7 Try to see if the file command can detect the file type:

    Code:
    file jelvinjs7
    
    Post the results.
     
  4. subsonix macrumors 68040

    Joined:
    Feb 2, 2008
    #4
    @ScoobyMcDoo Slight typo that should be gunzip. ;)
     
  5. ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #5
    Thanks! Fixed it.
     

Share This Page