Skip to main content

OS-X Arcana

A few short blurbs with OS-X info I wish to remember.

Can't Remove Files

After copying over some files from a NTFS filesystem, I couldn't delete them. I had to dig around a while to find out how to clear all the ACL settings that were protecting them. Here's how:

$ chmod -R -N *             # remove all ACLs
$ chflags -R nouchg *       # clear the user immutable flag
$ chglags -R nohidden *     # not necessary; just a reminder on unhiding

Group ID in ps Output

It's not BSD; here's how to list group ID in ps output:

ps -eo pid,user,group,args