Cant remove files even though root

Olvi

Registered
I moved file from user A to user B and now I cant delete it!

When I try to drag it to trash it is asking password (requested right: com.apple.desktopservice) and then it says no priviledge.. (even though root user)

in Terminal:
root# ls -la
-rwxrwxrwx 1 olvi olvi 26871 Dec 12 17:30 filename.xxx
root# rm -rf filename.xxx
rm: filename.xxx: Operation not permitted

I also tryed to fix file permissions with DiskUtility.app (also boot from CD).

Is there anythin I can do??
MacOs Version 10.4.8 (build 8L2127)


-Olvi
 
Try this in the Terminal, under your normal admin account:

# sudo rm -rf filename.xxx

...and then provide your root/admin password.
 
Open the Terminal Application (in Utilities folder) and type:

cd ~/.Trash
hit return

then type;

sudo rm -rf

put a space after the f and drag the item you want deleted to the terminal so that its path is automatically entered, then press return

give it your admin password and hit return
 
It gives same "Operation not permitted" error.
And file is not in Trash, its in ~/Desktop/Somefolder/
 
what do you get for ls -l ~/Desktop/Somefolder/ In particular who is the owner and what are the permissions of the file.
 
Just like above:
olvi$ ls -l
-rwxrwxrwx 1 olvi olvi 26871 Dec 12 17:30 filename.xxx

So there shuld be no reason why can't I remove it :/
 
Back
Top