One Quickie

Setting file system attribute flags (Unix->Random)
chflags in Mac OS X works like chattr over in Linux-land. So to make a file immutable (can't change it, even if you're the superuser), you can sudo chflags uchg file-name(s). To undo it, do sudo chflags nouchg file-name(s)

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book