Problems Unzipping file on my desktop

When I try to unzip a file, I get a message: "Unable to unarchive "name of file" into "Desktop". (Error 1 - Operation not permitted.)". The file is 9.3 Gb, but I have opened files exactly like this in the recent past. Any suggestions?
I am using mac os 10.6.8.

How are the permissions of your file? How is the extension of the file? Is it .zip ?
Could you post back the result of (copy and paste in your Terminal of these comands followed by <enter>):
cd ~/Desktop
ls -l
Is this command in the Terminal working:
unzip yourfile.zip
Can you move the file to an other folder of your home directory?
Best greetings
marek

Similar Messages

  • Help - problem unzipping files on Terminal

    Hi,
    I have been unzipping files (zip and rar) using Terminal for quite sometimes now. For unknown reasons, it's given me some problems unzipping today.
    When I typed cd. /desktop, as I did in the past, it suddenly showed an error:
    -bash: -bash:: command not found
    I typed "/bin/echo $PATH", as I saw other previous posts have suggested. The result:
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    I am not sure what that means, i.e. is it ok? or is it not? and how do I fix the problem if not ok?
    I am completely IT illiterate, especially when it comes to any computer language. So please, a simple and straight forward answer, or preferrably a step-by-step guide, will be truly appreciated.
    Many thanks for your kind assistance in advance.

    MrHoffman, thanks ever so much for the helpful answer.
    a "cd ~/Desktop" instead of "a dot and a space" did allow me to unzip my files finally!
    Just wonder, by doing what I have just done, i.e. a dot and a space and then the target directory, had I already committed the sins of damaging the "Path" (something I learned from reading other similar posts in the forum)... Basically, I just want to know if i have damaged the file contents... and if so, how bad is the damage? (so far, my Mac works fine....)
    Digress, I would have loved to stay away from using Terminal as far away as I could, since I am dreading of the thought of me ended up doing something damaging to the lovely Mac. But unfortuantely, there isn't any idiot-friendly tool available for unzipping any password-protected zip files.... Would appreciate if you could offer any alternative solution to this, i.e. other than using Terminal! (NB. I have also looked into using EZ 7z and X7zX for Mac before, both of which i just gave up in the end!)
    Anyhow, thanks! : )

  • Problems unzipping files

    Hello there,
    I tried to create two small programs: Zip and UnZip, using the java.util.zip package. The Zip file works perfectly and WinAce can read the files zipped. But the UnZip program doesn't seem to work: it unzips
    the files almost correctly. I unzipped a text file and it's readable, but except for the normal characters that appeared in the original text, some other not-displayable characters appear at certain points (quite many since the unzipped files are a few kilob bigger that the original not-zipped file). I really don't understand what the problem is. Well, actually, I didn't read any tutorial about using java.util.zip, I just read the API documentation and I sorted out a way of zipping and unzipping. Please, if you can, tell me what is the problem with the program:
    public class UnZip
         public static void main(String[] arg)
              try
                   if (arg.length < 1)
                        System.out.println("Usage: java UnZip <zip file> [to dir]");
                        System.exit(0);
                   String dir = "";
                   if (arg.length > 1)
                        dir = arg[1] + System.getProperty("file.separator");
                        File f = new File(arg[1]);
                        if (!f.exists()) f.mkdirs();
                   System.out.println("Decompressing files from file " + arg[0]);
                   ZipFile read = null;
                   try
                        read = new ZipFile(arg[0]);
                   catch (ZipException ex)
                        System.err.println("Zip error when reading file " + arg[0]);
                        System.exit(1);
                   catch (IOException ex)
                        System.err.println("I/O Exception when reading file " + arg[0]);
                        System.exit(1);
                   Enumeration en = read.entries();
                   while (en.hasMoreElements())
                        ZipEntry entry = (ZipEntry) en.nextElement();
                        System.out.println("\tDecompressing file " + entry.getName());
                        FileOutputStream out;
                        try
                             out = new FileOutputStream(dir + entry.getName());
                        catch (FileNotFoundException ex)
                             System.err.println("\tCannot write down to file " + dir + entry.getName());
                             continue;
                        InputStream re = read.getInputStream(entry);
                        int av = 0;
                        while ((av = re.available()) != 0)
                             byte[] b = new byte[av < 64 ? av : 64];
                             re.read(b);
                             out.write(b);
                        out.close();
                        System.out.println("\tDone decompressing file " + entry.getName());
                   read.close();
                   System.out.println("Done decompressing files");
              catch (Exception e)
                   new File(arg[1]).delete();
                   e.printStackTrace(System.err);
    }

    It is the following code which has a swapped conditional expression,
    and also I would loop differently.
              int av = 0;
              while ((av = re.available()) != 0)
                   byte[] b = new byte[av < 64 ? av : 64];
                   re.read(b);
                   out.write(b);
              }Move the byte buffer outside, and better think in kilobytes.
    Read is waiting and forcing an actual read, so it seems
    safer than an available.
    byte[] buffer = new byte[1024];
    for (;;) {
        int nread = re.read(buffer);
        if (nread < 0)
            break;
        out.write(buffer, 0, nread);

  • Problems unzipping files downloaded from Firefox using Windows built-in extractor tool

    Hi,
    I am running Firefox v26 on a Windows 7 (64-bit) PC. I work for a library that is able to reproduce digital audio books that we can download from the Library of Congress's National Library Service (NLS) for the Blind and Physically Handicapped. I use Firefox to download a lot of zipped audio books for my job. The file formats found in one book's zipped folder often include the following file types: .3gp (they're like a more compressed MP3 audio file), .mp3, .ncx, .opf, .pncx, .ppf, .smil, .md5, .dtd, .ent, and .ao.
    If I use Windows' built-in extraction tool to unzip an audio book I have downloaded via Firefox the extraction process ends prematurely and acts as if it was successful, but in reality some files are were never extracted. For example, I downloaded a zipped audio book that contained 21 files and weighed in at 87.6MB. The built-in Windows extraction tool only unzipped 2 files weighing in at 30.3MB.
    I have downloaded this same zipped audio book using Google's Chrome v31 and IE 11. Both downloads unzipped successfully using Windows' extractor. To make things even more bizarre, I *was* able to successfully unzip my audio book that I downloaded using Firefox using a 3rd party extraction tool called Extract Now. Because I tend to use this 3rd party program to extract my audio files I don't know at which version of Firefox this problem started. All I know if that this hasn't always been the case.
    Please help.
    Thanks,
    -Dan M.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps with extracting files.

  • Problem unzip file (Solved)

    When I go to uncompress a .rar file with nemo, nautilus I get this error.
    Error: Parsing filters is unsupported
    It seems to be a problem with libarchive , I'm not sure , but I can not find a solution.
    Any idea
    Thanks
    Last edited by kabbalah (2015-04-24 01:51:05)

    Is it another symptom of this issue https://bbs.archlinux.org/viewtopic.php?id=196198
    Does the PKGBUILD with patch from that thread fix your issue?

  • Can't copy files to my Desktop

    Hi,
    I can't figure this one out... hope you can help.
    I just ran disk Warrior on my machine to clean up and restore my disk, but after that I am having problems writing files to my desktop. When I try and open the desktop folder, I get an error of unsuficient privileges. I tried to Get Info and unlock the permissions, but that didn't seem to work.
    Any suggestions?

    Have you tried using Disk Utility to repair the permissions on the disk?
    Rich

  • Hi, the problem of deleting files / videos seeds desktop to go into Terminal and then sudo rm-rf ~ /. Trash Pohangina the answers I've had e of someone in her forum but when I write procedures line in Terminal as the Krever my password and it can not writ

    Hi, the problem of deleting files / videos seeds desktop to go into Terminal and then sudo rm-rf ~ /. Trash Pohangina the answers I've had e of someone in her forum but when I write procedures line in Terminal as the Krever my password and it can not write anything there, I write but nothing comes and my problem is not löst.När I want to delete the movie / video image Frin desktop still arrive Finder wants to make changes.Type your password to allow this. But even that I type my password file / video is left I need help in an easier way or another set-even those on the terminal that I can not type my password to solve the problem Regards Toni

    If you want to preserve the data on the boot drive, you must try to back up now, before you do anything else.
    There are several ways to back up a Mac that isn't fully working. You need an external hard drive to hold the backup data.
    1. Boot from the Recovery partition or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
    2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • Can't open Excel files saved to desktop, get popup "There was a problem sending command to the program".

    Whenever I save an MS Excel file to my desktop, it creates an icon on the screen. But when I try to open it, I get a popup that says "There was a problem sending the command to the program."
    This happens with all Excel files - but MS Word and other files work fine.
    Thanks for your help.

    Yes, I saw that earlier but it seems to be a temporary fix. I had the same issue return 2 weeks ago, then again yesterday. Each time, I've tried this solution which works but only to see it return at some time in the near future.
    Coincidently, I have a similar issue occur on my iPhone 4S w/ iOS 6. There, my keyboard shortcuts won't work in forms unless I tick off Data and Documents iCloud setting, power down the phone, then turn it back on. But like this, it only seems to work for a temporary time and the problem resurfaces in a few days.

  • Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem :)

    Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem

    hello, this might be a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.

  • Hi, im tinkering with mpeg streamclip and its giving me problems because it won't open my ripped dvd files from my desktop. It keeps giving me the same message "no VOB files can be found". Can anyone help me, this doesn't make sense.

    hi, im tinkering with mpeg streamclip and its giving me problems because it won't open my ripped dvd files from my desktop. It keeps giving me the same message "no VOB files can be found". Can anyone help me, this doesn't make sense. I also found online that you need Apple Mpeg-2 playback component in order to use mpeg streamclip. Even though I have OS X Lion, should I download the add-on?

    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    And from the TOU of these forums:
    Keep within the Law
    No material may be submitted that is intended to promote or commit an illegal act.
    Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it.
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • Problem with unzipping file

    I am trying to unzip a file using java.util.zip. It is throwing a ZipException in the first line where I instantiate ZipFile object.
    ZipFile oFile = new ZipFile("/myzip.zip");java.util.jar is not working either. It fails right here:
    JarFile oFile = new JarFile("/myzip.zip");Here is the exception thrown in the above cases:
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(Unknown Source)
            at java.util.jar.JarFile.<init>(Unknown Source)
            at java.util.jar.JarFile.<init>(Unknown Source)
            at ReadZipFile.main(ReadZipFile.java:21)
    An interesting observation:
    I am able to extract the contents of the zip from the command-line using jar utility.
    jar xvf myzip.zipI am stumped! I think jar utility internally uses the same classes for unzipping files. How come it is working with jar utility whereas it is not working from Java program? Also, the myzip.zip appears to be a valid archive - I am able to open it with winzip.
    Any pointers will be appreciated.
    Thanks in advance,
    Ganesh

    I think the above reply is correct but didn't explain why you would be getting a file not found. Unless you have your zip file at the root of your harddrive the slash in the filename is improper. Without the slash your code will assume your current working directory and look for the file there.
    By putting that forward slash in there you are telling the code to look at the root of the filestructure and NOT at the current working directory.

  • Unzip file using PayloadZipBean in Sender FILE adapter

    I am trying to unzip a flat file in Sender FILE adapter using PayloadZipBean.
    I am getting mapping error. The problem is File adapter is reading data without unzipping. I am getting weird characters/data, so mapping error.
    I searched all the blogs/ forum threads and help.sap.com, everywhere the focus is on zipping, not unzipping.
    the file I have is with .gz extension, but I tried with .zip extension also.
    Please help in resolving this issue.
    Edited by: Gopal Janagama on May 2, 2008 11:42 PM

    Gopal,
    GZIP and ZIP format are slightly different, as stated here :
    "GZIP compresses only one file and does not have a header. ZIP contains header information about what files are contained in the file."
    So I'm not sure the PayloadZipBean supports GZIP format ... Try to ungzip and then zip its content and see if the bean works for it
    Rgds
    Chris

  • Unzipping Files in the wrong folder

    Hi
    I am trying to unzip files. It works fine except that it unzips the files at the root. So i have tried specifying the path for making the directory (in which the unzipped files are stored). But that doesnt seem to work. Now i am unable to find the unzipped files. CAN ANYONE HELP PLEASE
    public static void unzipFile(String zFile)
            Enumeration entries;
            ZipFile zipFile;
           try {
                zipFile = new ZipFile(zFile);
                File file = new File(zipFile.getName());
                String fname = file.getName();
               String substr1 = fname.substring(0, fname.indexOf("."));
                String filepath = "/data/psawant/temp";
                File dir = new File(filepath, substr1);
                try {
                        dir.mkdir();
                catch (Exception fe)
                      System.err.println("Unhandled exception:");
                        fe.printStackTrace();
                        return;
                entries = zipFile.entries();
                while(entries.hasMoreElements()) {
                    ZipEntry entry = (ZipEntry)entries.nextElement();
                    if(entry.isDirectory())
                         // Assume directories are stored parents first then children.
                        System.err.println("Extracting directory: " + entry.getName());
                                          (new File(entry.getName())).mkdir();
                        continue;
                    } //end of if
                    System.err.println("Extracting file: " + entry.getName());
                    copyInputStream(zipFile.getInputStream(entry),
                        new BufferedOutputStream(new FileOutputStream(entry.getName())));
                 } //end of while
                zipFile.close();
                   } catch (IOException ioe)  {                 }
             } //end of unzip function
    public static final void copyInputStream(InputStream in, OutputStream out)
        throws IOException
            byte[] buffer = new byte[1024];
            int len;
            while((len = in.read(buffer)) >= 0)
            out.write(buffer, 0, len);
            in.close();
            out.close();
    Any help is apprciated
    Thanx

    Sorry I got it this time. I had overlooked the new File. I added that & it works fine but there seems to be some problem
    If the folder has another folder inside . it doesnt show that one. or rather just unzips one folder & no folders inside it. But i guess i can check for that
    Thanx for u r help
    Have a nice day

  • I can't save files to my desktop, but I can save anywhere else. How do I fix this?

    I can't save files to my desktop.  I have no problem saving the same file anywhere else.  WHen I try through excel, for example, it tells me the file is read only. When I try to save it as a different file name, a pop up tells me I do not have permission to save to the desktop.  The same issue occurs when I attempt to take a screen shot (default save to desktop)

    Click on it, choose Get Info from the File menu, give yourself Read & Write access under Sharing and Permissions or Ownership and Permissions, and ensure it's not locked.
    (64371)

  • So I have a file on my desktop and I cannot open it, move it to a folder, or delete it from my mac. I dont know what it has in it, and that makes me suspicious. What can I do to remove this unremovable file from my computer? Is it a virus?

    So I have a file on my desktop and I cannot open it, move it to a folder, or delete it from my mac. I dont know what it has in it, and that makes me suspicious. What can I do to remove this unremovable file from my computer? Is it a virus?

    First, I would recommend repairing the hard drive with Disk Utility.
    If that doesn't fix the problem, there's a very dangerous command you can execute in the Terminal.  This is very hazardous, because a simple typo can result in very drastic consequences.  I have seen people erase their entire hard drive by putting a space in the wrong place!  So, please follow the directions I'm going to give you very carefully!
    Open the Terminal, which is found in the Utilities folder in the Applications folder.  In the Terminal, enter the following:
    sudo rm -f
    Make sure to put a space after the "-f"!  Then, drag the troublesome file from the Finder and drop it on the Terminal window.  That should insert the path to the file in the command.  Then go back to the Terminal and press return.  You will be asked for your password, and when you type it, nothing will be shown as a security measure.  Press return again after entering your password.  The file should be deleted.

Maybe you are looking for

  • ABAP dump on entering into IC

    Hi, One user faces a very strange issue where she faces a dump on just entering CRM 7.0  IC application. The runtime error she faced on investigating in st22 was BCD_OVERFLOW where there is an overflow during an arithmetic operation. Class -> CL_ABAP

  • Lost sound on my macbook pro?

    ... sound was working fine now sound is 'stuck on mute'  and also  'internal speakers' has disappeared? can anyone help?

  • Problem with Advanced Healing Brush on LR 5

    I am experiencing a problem with the Advanced Healing Brush  on LR 5. Using, say, the Heal option, when I have marked the area I want to heal, and then move to the source I want to copy, I cannot get the colour of my selected source point to remove t

  • What's the deal with pacman -Sy?

    I've been wondering why it's not automated? Is there any reason not wanting to have latest repos (besides the time it takes to update)? And what does it really do? Just fetching the newer versions or new pacakges? /Richard

  • Deploying Toplink to Oracle AS 10g 10.1.2

    We are deploying our application developed in JDeveloper 10.1.3.3.0 and which includes TopLink, ADF Faces. What setups/libraries are specifically required to deploy to Oracle AS 10g 10.1.2 Thanks in advance Raam