2011-01-26, 21:47
Hi, I got a folder acting like a ghost.... I can see it bu I can touch it.
Let me explain,
I tried to copy a directory with different folders with movies inside from my external HDD to my internal one via SSH because my kids was watching a movie at the moment.
I used the cp -rf and it started to copy all the folders from one location to another, but after, let say 5 sec., it gave me an error and I stop the copy process with CTRL+C. (I don't remember the error)
I tried to delete the folder but I couldn't do it ( rm , rm -r, rmdir -r.. )
I checked the directories of my movies library with ls -al and I saw the directory I tried to delete was created by the root user ("drwxr") and all the others was under the xbmc user ("drwxr-xr-x").
Since I log under SSH with the xbmc user and use the sudo command, how can I have created the folder under root?
After I have created the password and logged as root. I still can't delete it. It gives me an error because the folder is not empty and I can't go inside because the folder doesn't exist but show's up under xbmc and with the ls command.
(rmdir -r ... give me an error because it doesn't understand the -r)
How can I remove it?
Let me explain,
I tried to copy a directory with different folders with movies inside from my external HDD to my internal one via SSH because my kids was watching a movie at the moment.
I used the cp -rf and it started to copy all the folders from one location to another, but after, let say 5 sec., it gave me an error and I stop the copy process with CTRL+C. (I don't remember the error)
I tried to delete the folder but I couldn't do it ( rm , rm -r, rmdir -r.. )
I checked the directories of my movies library with ls -al and I saw the directory I tried to delete was created by the root user ("drwxr") and all the others was under the xbmc user ("drwxr-xr-x").
Since I log under SSH with the xbmc user and use the sudo command, how can I have created the folder under root?
After I have created the password and logged as root. I still can't delete it. It gives me an error because the folder is not empty and I can't go inside because the folder doesn't exist but show's up under xbmc and with the ls command.
(rmdir -r ... give me an error because it doesn't understand the -r)
How can I remove it?