I have been trying to remove a locked folder from my Mac. I am logged in as admin.
When I try to delete it from Finder, it says
The operation can’t be completed because the item “X” is locked.
I have tried deleting it from the terminal by booting into recovery mode.
I have started my Mac using a Linux Live CD, mounted the Mac partition and tried removing it. Still no success.
I have also used:
chmod ugo+w .
chattr -i -a .
Also tried booting into single user mode to remove the folder. No luck.