sudo not working wtf?

tixrus

Registered
Files are on a LaCie terrabyte external drive.
The folder icon for the files looks strange, it has a little square in the lower left. I would like to know what that means for starters.

I own the files in question so I should be able to delete them using rm
but it won't do it. It won't even do it with sudo
Code:
rm hpothb07.*
rm: hpothb07.dat: Operation not permitted
rm: hpothb07.tif: Operation not permitted
mac3:My Pictures tpdick$ sudo rm hpothb07.*
Password:
rm: hpothb07.dat: Operation not permitted
rm: hpothb07.tif: Operation not permitted
mac3:My Pictures tpdick$ rm Thumbs.db
rm: Thumbs.db: Operation not permitted
mac3:My Pictures tpdick$ sudo chmod 777 hpothb07.*
Password:
mac3:My Pictures tpdick$ ls -al hpothb07.*
-rwxrwxrwx  1 tpdick  tpdick    387 May  3  2004 hpothb07.dat
-rwxrwxrwx  1 tpdick  tpdick  37496 May  3  2004 hpothb07.tif
mac3:My Pictures tpdick$ rm hpothb07.*
rm: hpothb07.dat: Operation not permitted
rm: hpothb07.tif: Operation not permitted
mac3:My Pictures tpdick$ sudo rm hpothb07.*
Password:
rm: hpothb07.dat: Operation not permitted
rm: hpothb07.tif: Operation not permitted

I should add these files were copied onto here from a windows box. Are they "locked" in some way other than unix file perms and if so how do I unlock them?
 
Last edited:
yeh they were "locked" it must be some Mac thing that's superimposed on BSD cuz the ls showed that I had control of them. They deleted like I expected once I undid that. The only time that happens in linux is when you have a trojanned sysem specifically tweaked to refuse to delete the virus operating files. That explained the odd folder icon too. So glad I didn't have a viral infection to clean up. Sorry I only recently began on Mac and only because it's unix underneath and slick but strange on the front. Thanks for the answer.
 
Back
Top