Friday, May 29, 2009
A well done tutorial on swapping out a Mac Mini drive
Is being unserviceable a part of Apple's design rules for some machines?
Unable to delete messages - a Mail.app 3.0 bug
I just ran into it upgrading my mother's ultra-plain Mac Mini from 10.4.11 to 10.5.2 and then directly to 10.5.7.
I did an update in place, not an archive and install. I didn't run Mail until the machine was at 10.5.7 and had gone through a post-update "safe boot" cycle to clean out old caches and debris. So I was surprised to find a very significant bug!
When I tried to delete an email from Mail.app 3.0 I got this error message:
The destination mailbox “Deleted Messages ... " does not allow messages to be moved to it.I found several posts on this topic, but they were all IMAP configurations. The associated fixes in those posts didn't work.
In finder I opened the folder containing the mailbox folders of my POP account. It was located at:
My User Home Folder --> Library --> Mail --> POP/account name --> additional POP folder
In this folder were the mailboxes folders with .mbox extensions.
- Deleted Messages --> empty
- Drafts.mbox --> Messages
- INBOX.mbox --> Messages
- Sent Messages.mbox --> Messages
Note my Deleted Messages doesn't have a .mbox extension like the others do...
- In Mail.app I saw some "child" trash items. I deleted those and emptied the Trash.
- I quite Mail.app and moved the "Deleted Messages" folder to the desktop
- I restarted Mail. app and then deleted a message. The Deleted Messages folder was recreated
Thursday, May 28, 2009
OS X internet bridging is WEP only
Update 5/29/09: It's not only old-fashioned, it's also flaky -- like a LOT of things in 10.5. I find I have to periodically toggle it off and on again on the Mac Mini to get it working.
Monday, May 25, 2009
OS X 10.5.7 has a wireless problem?
No real mention on Google, so it's probably something with our older setup (Airport Extreme saucer station, Airport Express WiFi extender, 802.11g/b).
What we see is my MacBook on awake from sleep takes a while to get a connection, then it loses it, then it gets a lower power connection (maybe one of the stations) then it gets a full power connection.
Not lethal, but very annoying.
Friday, May 22, 2009
Blank an iMac display - instantly (Leopard only?)
- Ctrl-K and Ctrl-Y will cut and copy text -- independently of Cmd-X and Cmd-Y. A separate clipboard.
- Option - Command - Eject: sleep computer (I knew that one)
- Many obscure Leopard tips
Thursday, May 21, 2009
Why are all my Windows 2003 server folders read-only with a gray checkbox?
In the midst of a Kafkaesque episode of IT torture, I realized that all of my Windows 2003 server folders on every drive had a grayed-out (greyed-out) checkbox in the read-only attribute. The value of the checkbox could not be changed. (That is, it appears that it can be cleared, but on review it's set again. This is true even if one requests that changes propagate down the tree.)
In theory this means that somewhere in the tree of child folders there exists a read-only folder.
Was this related to the mind-crumbling miseries of my past week of IT hell?
Probably not, but the truth is dark enough. Microsoft has a kb article on this. I've cleaned it up, the original is poorly written. Emphases mine ...
... Unlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows ... you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer.
The Read-only and System attributes are only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder's Properties dialog box.
As a result, Windows Explorer does not allow you to view or change the Read-only or System attributes of folders.
When a folder has the Read-Only attribute set it causes Explorer to request the Desktop.ini of that folder to see if any special folder settings need to be set.
... if a network share that has a large amount of folders set to Read-only, it can cause Explorer to take longer than expected to render the contents of that share while it waits on the retrieval of the Desktop.ini files. The slower the network connectivity to the share the longer this process can take to the point where Explorer may timeout waiting for the data and render nothing or appear to hang.
Let's walk backwards to appreciate the horror of what Microsoft did here.
Suppose you want to display NTFS metadata like a file's name or comments in an Explorer view. This is a handy way to do what, millennia ago, we did using things like PC Magazine's dirnotes.com utility. Well, it's easy to enter that data, but how does Windows know to display it.
Ahh, here's where the horror of the hack sets in.
The metadata directions are stored in Desktop.ini files for each folder. It would be slow, however, for Windows to check that file every time an Explorer view is to be shown. So Windows 2003 needs to know when to check.
Cue dramatic music.
Some poor benighted soul realized that Windows (95? 98? NT? 2000?) doesn't use the read-only attribute for much. So he (must have been) had a brilliant idea. He'd hijack that attribute, and use it as a way to tell Windows that it needed to check the Desktop.ini file.
We know how the play unfolds now. Once this data value had been used this way the meaning changed. The text says "read-only" but the meaning is "look at the desktop.ini file".
We call that semantic drift.
Of course there's no reason for an attribute that really means "look at desktop.ini" to change the UI for a parent folder attribute of the same name, but that was inherited from the original use of the folder "read-only" attribute. It's a hack side-effect.
Finally, since "read-only" now meant "look at desktop.ini" it had to be reserved for system use, so Windows Explorer can no longer change that attribute. Of course attrib. exe can still change it, but probably you don't want to -- you're really telling Windows then to "ignore desktop.ini".
The Horror, The Horror.
Tuesday, May 19, 2009
Ping.FM: a router for status updates ... with just one small problem.
If something doesn't show up in my Feed stream, I don't hear of it from my peers.
Take Ping.FM - for example. It's not new, but a GR search shows none of my sources called it out (but they did mention it -- with the assumption that any reader would know what they meant).
I found mention of it in a corporate blog I track at work ...
lbenitez . Luis Benitez . Socialize Me
"... Ping.fm allows users to update their status in the following services from any of the following clients...".So Ping.fm will update my status on LinkedIn, Facebook and Twitter. Great! Just what I've been looking for.
Except ...
Ping.fm needs my username and password for each of these accounts.
Riiigggghhhht.
Ok, that's a FAIL.
Maybe that's why no-one I read is keen on Ping.FM.
I'll check back if they're able to implement on OpenID mutual authentication framework.
Update 9/14/10: A relevant xkcd comic.

