Previous 1 2 Next 17 Replies Latest reply: Oct 3, 2014 10:43 PM by Daniel from Vienna
mennofromnld Level 1 Level 1 (0 points)

I had a file which I wanted to have password-locked, so I went to Disk Utility > File > New > Disk Image from Folder.
I selected the folder, saved it on my desktop, chose image format compressed and 128-bit AES encryption (it was reccomended).

I now need a password to open the folder, but even after opening it I can't add any new files to it.

MacBook Pro with Retina display, iOS 7.0.3
  • Melophage Level 5 Level 5 (7,130 points)



    that’s by design; it’s a feature, not a bug. If you’d like to alter the contents of that disk image, you’ll instead need to create a new Disk Image from Folder using a folder with the new set of files which you’d like to have in a disk image, and delete the old disk image.

  • WZZZ Level 6 Level 6 (12,775 points)

    Once it's opened with the password, I can add files to an encrypted disk image (sparse bundle) no problem with that here. Do a Get Info and see if it's locked. I think a sparse bundle won't have that issue if it's locked, but a sparse image will. At least, that's the way those two behave here.


    If you find that the previous information is correct, and you need to make a new one, I would recommend making a sparse bundle this time. That will allow it to be expandable, as more room is required over time.

  • mennofromnld Level 1 Level 1 (0 points)

    Are you sure?

    I've checked a number of websites and they all say you should be able to add files to it.

  • WZZZ Level 6 Level 6 (12,775 points)

    Unlock it if it's locked.


    Or open Terminal in Utilities and just drag in the disk image. Copy the resulting path from the output.


    Then enter


    chflags nouchg <path to file or folder you just copied>  Do not use the < > and be sure to leave a space after nouchg


    Then hit enter/return


    If this doesn't workm then use the following instead sudo chflags nouchg


    You will be asked for your admin password, which won't appear in any form as you type it in. There will be a scary warning. Just continue.

  • mennofromnld Level 1 Level 1 (0 points)

    I checked and it's not locked, but I don't think it's a sparse bundle.
    I made a new folder which is a sparse bundel, which I can add files to using Finder, but when I click on the icon in the desktop and type in the password nothing opens...

  • WZZZ Level 6 Level 6 (12,775 points)

    Are you entering the correct password? Better check that. EDIT:  Did you close it first before trying to reopen it with the password? If it's already open, nothing will happen.





    And be sure you don't save the password in Keychain.

  • Melophage Level 5 Level 5 (7,130 points)



    had you chosen the “read/write” image format rather than the “compressed” image format when you’d created the Disk Image from Folder, then you would be able to add, update, and delete files in the disk image.

  • WZZZ Level 6 Level 6 (12,775 points)

    Just  select New Image in Disk Utility. With that, there is no compressed image format. You have been using Disk Image from Folder, from what I can gather. Instead, just create the new image (sparse bundle) and then move whatever you want into it.


    Screen Shot 2014-04-22 at 2.38.28 PM.png

  • mennofromnld Level 1 Level 1 (0 points)

    I've tried all the things above.
    When selecting a new image in Disk Utility I can create an encrypted folder with I can add files to using finder, but when I try and open this folder from my desktop, I get the chance to type in my password (it is the correct password) but then nothing opens. If I open the other encrypted folder I have, which I can't add files to, it opens straight away after typing in the password.
    Why won't it open?

  • WZZZ Level 6 Level 6 (12,775 points)

    When selecting a new image in Disk Utility I can create an encrypted folder

    At first glance, I think the problem is that you are creating an encrypted folder. You should first be creating a sparse disk image bundle into which you move the items you want to protect. You are not creating an encrypted folder.


    Screen Shot 2014-04-23 at 8.56.58 AM.png



    It's very difficult to say what's going on, since I don't know the exact details of how you are going about doing all this.


    This is what mine looks like before opening it (temporarily copied to the Desktop--I don't keep it there, and then after giving the password and opening it, at which point it turns into a disk image. When I double-click on the disk image, its contents appear (not shown.)


    Before entering password.

    Screen Shot 2014-04-23 at 8.33.50 AM.png


    Screen Shot 2014-04-23 at 8.40.12 AM.png

    Disk Image/double-click to open. You eject this when finished using it.

    Screen Shot 2014-04-23 at 8.47.27 AM.png


    If you want to get any further help with this, I suggest you tell me exactly, step by step, from start to finish, eveything you have done.

  • mennofromnld Level 1 Level 1 (0 points)

    Thanks for the help, I really appreciate it.
    Okay so here are the steps:


    - I go to disk utility and selected "new image" at the top.
    - I then fill in this information (as an example):


    Screen Shot 2014-04-23 at 15.14.20.png


    Then I get this screen:
    Screen Shot 2014-04-23 at 15.14.51.png


    I can then see it on the left on the disk utility.


    Screen Shot 2014-04-23 at 15.16.42.png


    I add files to it using the finder application, after which I eject it.
    Screen Shot 2014-04-23 at 15.20.26.png

    Then, when I open it from my desktop I fill in my password:


    Screen Shot 2014-04-23 at 15.28.52.png

    But then it wont open tha actual folder.


    Here is the "get info" of the folder:
    Screen Shot 2014-04-23 at 15.24.22.png

  • WZZZ Level 6 Level 6 (12,775 points)

    OK,  after creating the sparse bundle, do not try to do anything with it while it's still in Disk Utility. Do this instead: in Disk Utility, first eject the Disk Image. (Right-click to bring that option up.)


    Screen Shot 2014-04-23 at 9.46.06 AM.png


    Next, Remove the sparse bundle from DU.


    Screen Shot 2014-04-23 at 9.46.35 AM.png


    Now, find the sparse bundle saved to the Desktop and open it from there with your password. After it's open, you should be able to move whatever you want into it. When finished doing that, eject the disk image. You can leave the sparse bundle on the Desktop, or copy it to your Documents folder (that's where I keep mine), then trash the one on the Desktop.


    Screen Shot 2014-04-23 at 9.52.06 AM.png


    How does that work now?

  • mennofromnld Level 1 Level 1 (0 points)

    I still can't open the file from my desktop, nor after I put it in my documents and try open it from there.
    The only way to see what's inside is to type in the password and then to click on "Disk Image" under Devices.


    I can't upload videos onto here, so here is a link to what happens when I try to open the folder:


  • WZZZ Level 6 Level 6 (12,775 points)

    What does it look like unopened on the Desktop (screenshot)?


    Maybe it's a flaky key, or keys, on the keyboard responsible for the problem. Try this: create a brand new test sparse bundle.Trash the old test one. Don't use any of the same characters you've been using before for the password. Instead, just for a test, use something very simple like 1 2 3 or a b c. Don't put anything in it, just see if it opens properly from the new password. Also, are you trying to put items inside the sparse bundle or inside the disk image? It's the latter where they go.


    Screen Shot 2014-04-23 at 10.35.37 AM.png

Previous 1 2 Next