View Single Post
Posts: 646 | Thanked: 1,124 times | Joined on Jul 2010 @ Espoo, Finland
#5
Originally Posted by pichlo View Post
I think he meant he was trying to delete the file as root. That should work unless the file is still open by someone else.
It does not necessarily work, as N9 root is a bit of a 'toothless' root:

Code:
~ $ touch /home/user/removeme
~ $ ls -al /home/user/removeme 
-rw-r--r--    1 user     users            0 Jul 23 20:00 /home/user/removeme
~ $ devel-su
Password: 


BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # rm /home/user/removeme
rm: remove '/home/user/removeme'? y
rm: can't remove '/home/user/removeme': Permission denied
Note that the operation above would work if the file would be under /home/user/MyDocs (which is formatted in VFAT)

Better to find out which user owns that file in question and proceed accordingly.