Locked folder won't unlock

10 posts / 0 new
Last post
Hawaii Cruiser's picture
Offline
Last seen: 7 years 1 month ago
Joined: Jan 20 2005 - 16:03
Posts: 1433
Locked folder won't unlock

I dragged this folder from a digital camera flash SD media card to my desktop and it copied as a locked folder:

IMAGE(http://www.applefritter.com/images/lockedfolder-23510_640x480.jpg)

I dragged it because it had jpegs I wanted to put on my computer. I open it and it's empty. I go to "Get Info" and the locked box is checked but grayed-out so I can't uncheck it. Ownership and Permissions says I can read and write it. Get info gets stuck on calculating its size. It has no creation date. It is not content indexed and will not index. I cannot put it in the trash because it's locked. Pressing option doesn't allow me to put it in the trash. How do I get rid of this thing?

Eudimorphodon's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: Dec 21 2003 - 14:14
Posts: 1207
Terminal Fun

Article on setting the nasty filesystem flags in OS X.

I'd probably do the following:

1: Open up Terminal. (From this point, anything preceded by a "#" is what I'd type at the command line.)

2: # cd Desktop
(This is assuming you dragged the file to your Desktop)

3: # sudo bash
(this gives you a root prompt, so you don't need to type "sudo" before every other command.)

4: # ls -al IM01OLYM
(You should see a display that looks sort of like this:

total 0
drwxr-xr-x 2 myusername myusername 68 Oct 3 08:24 .
drwx------+ 33 myusername myusername 1122 Oct 3 08:24 ..

Make sure "myusername" matches your user name, and that you don't see any files other then "." and "..".)

From this point, two choices. A: Step 4 showed the "right" thing, IE, empty folder. (Ownership doesn't really matter if it's empty.)

5. # chflags nouchg IM01OLYM

6: # rmdir IM01OLYM

7: Exit terminal.

Should be *all gone*.

Option B: Non-empty folder (you can see files when you're root, which is what the "sudo bash" did.) not belonging to you:

5. # chflags -R nouchg IM01OLYM

6: # chown -R myusername:myusername IM01OLYM
(sub "myusername" with your actual user name.)

7: Exit terminal, open files in Finder, have fun.

--Peace

Hawaii Cruiser's picture
Offline
Last seen: 7 years 1 month ago
Joined: Jan 20 2005 - 16:03
Posts: 1433
Buy that man a drink!

Wow! Amazing. That did the trick. It just disappeared from the desktop. Thanks for taking the time to write all that out.

Jon
Jon's picture
Offline
Last seen: 12 years 10 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
BTW: Did you try anything wit

BTW: Did you try anything with the original camera media still on the system?

TheUltimateMacUser's picture
Offline
Last seen: 6 years 2 months ago
Joined: Jan 28 2004 - 12:14
Posts: 615
Olympus?

Is this an Olympus camera, by the way? Im just curious.

Hawaii Cruiser's picture
Offline
Last seen: 7 years 1 month ago
Joined: Jan 20 2005 - 16:03
Posts: 1433
Yeah, I tried to simply put t

Yeah, I tried to simply put the folder back into the media--got the cannot because it's locked message. I was wondering if it was like the old Mac Classic where something dragged to your desktop is not actually copied to the hard drive, but no, the folder was definitely unconnected to the media. I did drag the jpegs from the original folder on the media card to a newly made folder on the desktop and then trashed the jpegs on the media card, but the locked folder remained. I made a very slight hand-mouse slip in the middle of originally dragging the folder to the desktop. Seemed like that had something to do with it going locked.

Hawaii Cruiser's picture
Offline
Last seen: 7 years 1 month ago
Joined: Jan 20 2005 - 16:03
Posts: 1433
Ha ha, that's funny. Yes it i

Ha ha, that's funny. Yes it is an Olympus camera. An old Camedia D-340R that I still use because it has great sharp close focusing ability.

TheUltimateMacUser's picture
Offline
Last seen: 6 years 2 months ago
Joined: Jan 28 2004 - 12:14
Posts: 615
Knew it...

I knew it, based on the title of the folder. I've an old D-620L that i still use.

Jon
Jon's picture
Offline
Last seen: 12 years 10 months ago
Joined: Dec 20 2003 - 10:38
Posts: 2804
Macro mode?

Macro mode?

Hawaii Cruiser's picture
Offline
Last seen: 7 years 1 month ago
Joined: Jan 20 2005 - 16:03
Posts: 1433
Yeah, it has a good macro mod

Yeah, it has a good macro mode. Much better than the macro on the Nikon point and shoot digital that I bought my wife last year which was supposed to be good at macro. I'm about to put up a bunch of eBay auctions and I use the Olympus to take all the photos. It's only 1.3 megapixels, but the high quality resolution is excellent.

Log in or register to post comments