Can't delete a directory on external drive (OS X)
- by Martin Tóth
I have a brand new Transcend StoreJet 25M3 (external HDD) mounted to MacBook (Leopard 10.5.8) at /Volumes/Transcend. I copied some data from my old Windows (XP) machine on it, and now, after cleaning some stuff up, I wanted to delete some directories, but this is what happened:
$ rmdir My\ Pictures/
rmdir: My Pictures/: Operation not permitted
Using Finder just asks for password, but does not delete the directory (sound of "moved to Trash" is played).
I thought it's some permission "thing", but:
$ ls -l
drwxrwxrwx 1 martin staff 32768 5 jan 16:11 My Pictures/
$ sudo rm -rf My\ Pictures
rm: My Pictures: Operation not permitted
I re-mounted, rebooted (thinking that there's some file lock), but that did not help.
What might have happened here? How to delete it?