How do I delete a disk image?
I made a disk image to have a password protected folder, but now i can't delete it, even after i put in the password..
Help?!
Mac Pro, Mac OS X (10.7.3)
I made a disk image to have a password protected folder, but now i can't delete it, even after i put in the password..
Help?!
Mac Pro, Mac OS X (10.7.3)
Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
Drag or copy – do not type – the following line into the Terminal window, then press return:
chmod -R -N ~
The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
sudo !!
You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select ▹ Restart from the menu bar.
I'm not too tech savvy, what do you mean mounted? When i open the image, a drive opens, so i can put files into it, that's empty. There is just an icon on my desktop and when I try to drag it to the trash it tells me that the finder wants to make changes, and asks for my password, I give it, but nothing happens, it also seems that this is happening to all of my desktop icons...
Let's try to get a clearer description of the problem. You have some files on your Desktop. When you try to move any of them to the Trash, you're prompted for your password, and when you enter the password, it's apparently accepted, but nothing happens. The files don't go into the Trash. They also can't be moved around on the Desktop. Is that accurate?
Went to disk utility, created a new disk image. In Disk Utility it says that its not mounted and encrypted. And i saved it to my desktop.
I also vaguely remember doing something else, trying to lock a folder, and I remember something about being able to read & write in a file (?) If that helps any, if not, ignore that. I'll try to figure out what I did there.
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
Drag or copy – do not type – the following line into the Terminal window, then press return:
ls -AOel
Post any lines of output that appear below what you entered – the text, please, not a screenshot.
If any personal information appears in the output, edit before posting, but don’t remove the context.
You may have locked yourself out. Click on the disk image on your desktop (make sure it's not mounted). Then go to the File menu and go to Get Info. In the window that pops up, look at the very bottom at the "Sharing & Permissions". Make sure all items in there (your username, staff, everyone) says "Read & Write". If they don't hit the little lock and enter your username/password and click on each "Read Only" and change to Read & Write. Then hit the lock to lock it back up and try to delete it.
Last login: Mon Mar 26 16:15:35 on console
emma-pc:~ jakemcbeth$ ls -AOel
total 184
-rw------- 1 jakemcbeth staff compressed 3 5 Aug 2011 .CFUserTextEncoding
-rw-r--r--@ 1 jakemcbeth staff - 21508 26 Mar 09:10 .DS_Store
drwx------ 2 jakemcbeth staff - 68 26 Mar 16:15 .Trash
-rw------- 1 jakemcbeth staff - 0 26 Mar 09:13 .Xauthority
-rw------- 1 jakemcbeth staff - 126 26 Mar 16:09 .bash_history
drwx------ 3 jakemcbeth staff - 102 9 Aug 2011 .cups
drwxr-xr-x 3 jakemcbeth staff - 102 26 Mar 09:12 .fontconfig
drwx------+ 33 jakemcbeth staff uchg 1122 22 Mar 13:14 Desktop
0: group:everyone deny delete
drwx------+ 40 jakemcbeth staff - 1360 26 Mar 09:08 Documents
0: group:everyone deny delete
drwx------+ 564 jakemcbeth staff - 19176 26 Mar 18:20 Downloads
0: group:everyone deny delete
drwx------@ 40 jakemcbeth staff hidden 1360 8 Nov 13:54 Library
0: group:everyone deny delete
drwx------+ 8 jakemcbeth staff - 272 30 Oct 17:03 Movies
0: group:everyone deny delete
drwx------+ 6 jakemcbeth staff - 204 28 Aug 2011 Music
0: group:everyone deny delete
drwx------+ 43 jakemcbeth staff - 1462 6 Mar 09:40 Pictures
0: group:everyone deny delete
drwxr-xr-x+ 6 jakemcbeth staff - 204 6 Aug 2011 Public
0: group:everyone deny delete
drwxr-xr-x 6 jakemcbeth staff - 204 6 Aug 2011 Sites
-rw-r--r--@ 1 jakemcbeth staff - 63443 13 Nov 16:30 tattoo #6.jpg
emma-pc:~ jakemcbeth$
You locked the Desktop folder. Select it in the sidebar of a Finder window, open the Info dialog, and uncheck the box labeled Locked.
Not sure, but if it's mounted, try going back into Disk Utility and try managing it there?
Eject the image first, and you should then be able to delete the image file.
Yea, there's that. But I thought he meant that even when it wasn't mounted that it was asking for a password before he could delete the image. But I probably just read it wrong.
that didn't work. All the steps worked properly, although i'm still not able to move and icons, and more importantly get rid of the disk image.
I appreciate the help though..
Yes, and this all started happening after i created a disk image. I wanted a desktop folder that was password protected.
What exactly did you do?
Thank you so much for your help!
I was getting way to frustrated with it!
Again, thank you!!
How do I delete a disk image?