I'm trying to delete a certain file using inum because I could not delete it using the filename. To my surprise, I could not delete it either. The file I'm trying to delete is:
-rw-r--r-- 1 root root 0 Aug 6 2012 ./?}>L1]?b1?}9?R?#?M???M@
It has an inum of 3932293 so I execute find . -inum 3932293 -exec ls -l {} \; but still could not delete either.
[root@nelsoncli admin]# find . -inum 3932293 -exec ls -l {} \;
-rw-r--r-- 1 root root 0 Aug 6 2012 ./?}>L1]?b1?}9?R?#?M???M@
find: `./.gvfs': Permission denied
So what the heck is gvfs. I have no time to do a research just that my goal is to delete this file. So I search the web and the solution was to unmount it.
root@nelsoncli admin]# umount /home/admin/.gvfs
After that, I was able now to delete the file.
-rw-r--r-- 1 root root 0 Aug 6 2012 ./?}>L1]?b1?}9?R?#?M???M@
It has an inum of 3932293 so I execute find . -inum 3932293 -exec ls -l {} \; but still could not delete either.
[root@nelsoncli admin]# find . -inum 3932293 -exec ls -l {} \;
-rw-r--r-- 1 root root 0 Aug 6 2012 ./?}>L1]?b1?}9?R?#?M???M@
find: `./.gvfs': Permission denied
So what the heck is gvfs. I have no time to do a research just that my goal is to delete this file. So I search the web and the solution was to unmount it.
root@nelsoncli admin]# umount /home/admin/.gvfs
After that, I was able now to delete the file.