The Core Dump

A strong conviction that something must be done is the parent of many bad measures

[By Nic Lindh on Wednesday, 21 January 2004]

Permissions problems

Just spent an incredibly frustrating hour or so. Looks like there’s some strange interaction between Mac OS X and AppleShare IP Server, where permissions get bungled. So I end up with my folder containing grades and things going back five years being readable by all my students. Is that good? No, it is not. As a matter of fact, it’s really really bad. Granted, I doubt any of my previous students are happening to be on campus rooting through my class folder, but it could happen.

You can try to reset the permissions on a folder so group members don’t have access to the folder, but haha! surprise! the permissions don’t stick. Gotcha! The only one who can reset the permissions is the server admin, who in this case is not me, and who has to be chased down.

While trying to get a hold of the admin, I decide to just throw away all the files–I have backups of everything, so let’s just chuck that copy. Well, it’s five years of work, and for some reason a lot of the files are locked. Don’t ask. Something to do with the files being created on Windows machines, then brought over to the Mac. Highly erratic and annoying. To make things even better, some of the locked files are invisible, so the Finder chokes and tells me that “the file blahblah can’t be deleted because it’s locked.” Awesome. Where is that file? Nowhere. Can’t be found.

Here are a couple of Finder improvement ideas for Apple: 1) When you encounter a locked file during file deletion, let me delete all files that aren’t locked. Don’t just throw up an error and stop the entire file delete. There’s another 12,000 files in there I would like to have deleted, please; and 2) When you tell me that the file blahblah is locked, give me an option to reveal that file.

In theory, you can hold down the option key when emptying the trash to get rid of locked files. But on a remote volume the files are deleted immediately–they never go to the trash, so you can’t override the locked file behavior. Argh.

So here I am. 12,000 files to throw away, some of them very sensitive, and a completely uncooperative Finder. Sod it. Let’s drop into the Terminal and nuke ‘em all. Nope. The filesystem is mounted as read-only in the Terminal. Okay, deep cleansing breaths, deep cleansing breaths.

At this point the sys admin appears and is able to reset the permissions. Phew. Everything is safe now, but this little exercise was certainly not good for my heart.

To summarize: If you use AppleShare IP with an OS X client, you are in for a nasty time. Upgrade your server to Mac OS X Server. According to the sys admin, that’s the “solution” Apple gave him when he called in a trouble ticket.

« Blast that Finder


Enjoy the ten latest posts!

Any sufficiently advanced incompetence is indistinguishable from malice

Impressions moving from an Apple Watch Series 3 to Series 5

Is there reason to upgrade from a 3 to a 5?

Plans are worthless, but planning is everything

Often injustice lies in what you aren’t doing, not only in what you are doing

Die in a ditch

After all these years, Nic still can’t understand the American attitude to healthcare.

The big thieves hang the little ones

Book roundup, part 29

A sci-fi and fantasy heavy installment that includes The Valedictorian of Being Dead, The Mastermind, Broadsword Calling Danny Boy, Tiamat’s Wrath, The Raven Tower, The Liberation, The Light Brigade and Cryptonomicon.

Politics is not the art of the possible. It consists in choosing between the disastrous and the unpalatable

Book roundup, part 28

Includes The Incomplete Book of Running, Aching God, The Murderbot Diaries, Lies Sleeping, The Consuming Fire, and Rendezvous with Rama.

Las Vegas trip report

Did you know Las Vegas is kind of nutty?