flie is locked, cannot erase

https://support.apple.com/en-ca/TS1402


http://stackoverflow.com/questions/2642147/how-to-remove-files-and-directories-quickly


DC_iMAC:.Trash MAC_at_home$ ls -la
total 16
drwx------   4 MAC_at_home  staff   136 29 Mar 11:13 .
drwxr-xr-x+ 51 MAC_at_home  staff  1734 26 Mar 11:53 ..
-rw-r--r--@  1 MAC_at_home  staff  6148 29 Mar 11:13 .DS_Store
drwxr-xr-x   3 root         admin   102 26 Mar 12:35 Web Clip.wdgt
DC_iMAC:.Trash MAC_at_home$ rm -df 'Web Clip.wdgt'
rm: Web Clip.wdgt: Directory not empty
DC_iMAC:.Trash MAC_at_home$ rm -dfRi 'Web Clip.wdgt'
examine files in directory Web Clip.wdgt? y
examine files in directory Web Clip.wdgt/WebClip.plugin? y
examine files in directory Web Clip.wdgt/WebClip.plugin/Contents? y
examine files in directory Web Clip.wdgt/WebClip.plugin/Contents/MacOS? y
remove Web Clip.wdgt/WebClip.plugin/Contents/MacOS/WebClip? y
rm: Web Clip.wdgt/WebClip.plugin/Contents/MacOS/WebClip: Operation not permitted
remove Web Clip.wdgt/WebClip.plugin/Contents/MacOS? y
rm: Web Clip.wdgt/WebClip.plugin/Contents/MacOS: Permission denied
remove Web Clip.wdgt/WebClip.plugin/Contents? y
rm: Web Clip.wdgt/WebClip.plugin/Contents: Permission denied
remove Web Clip.wdgt/WebClip.plugin? y
rm: Web Clip.wdgt/WebClip.plugin: Permission denied
remove Web Clip.wdgt? y
rm: Web Clip.wdgt: Directory not empty
DC_iMAC:.Trash MAC_at_home$ y
-bash: y: command not found





DC_iMAC:.Trash MAC_at_hoDC_iMAC:MacOS MAC_at_home$ ls -la
total 296




drwxrwxrwx  3 root  admin     102 26 Mar 08:32 .
drwxrwxrwx  3 root  admin     102 26 Mar 12:35 ..
-rwxr-xr-x  1 root  admin  385232 12 Mar 03:50 WebClip
DC_iMAC:MacOS MAC_at_home$ ls -d
.
DC_iMAC:MacOS MAC_at_home$ ls -lA
total 296
-rwxr-xr-x  1 root  admin  385232 12 Mar 03:50 WebClip
DC_iMAC:MacOS MAC_at_home$ ls -ls
total 296
296 -rwxr-xr-x  1 root  admin  385232 12 Mar 03:50 WebClip
DC_iMAC:MacOS MAC_at_home$ ls -il
total 296
15200988 -rwxr-xr-x  1 root  admin  385232 12 Mar 03:50 WebClip
DC_iMAC:MacOS MAC_at_home$ find . -inum 15200988 -exec rm -i {} \;
remove ./WebClip? y
rm: ./WebClip: Operation not permitted
DC_iMAC:MacOS MAC_at_home$ sudo find . -inum 15200988 -exec rm -i {} \;
Password:
remove ./WebClip? y
rm: ./WebClip: Operation not permitted
DC_iMAC:MacOS MAC_at_home$