Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm constantly failing to do something usefull to a directory.

ls gives this output:

drwxrwxr-x   2 root     1000     0 19. Jul 14:03 backup

Here I'm trying to remove, move or chown this directory without success. Any ideas to fix this? After all I need a backup directory which can be chowned to an other user.

[root@www004 /]# chown root:root backup
chown: Change the owner of "backup": Invalid argument
[root@www004 /]# mv backup trash
mv: Move the "backup" to "trash" is not possible: Device or resource busy
[root@www004 /]# rm -rf backup
rm: remove directory "backup" is not possible: Device or resource busy
share|improve this question
    
Google translate my friend. ;-). Dont worry I edited the question for you with the translations. By the way... this "backup" folder is in the host computer or is it a mounted to it? – Rhyuk Jul 19 '12 at 12:51
    
It's mounted. Actually umount /backup was the solution. Thanks a lot! Feal free to add you comment as an answer in order I cann accept it. – BetaRide Jul 19 '12 at 13:00
up vote 2 down vote accepted

If that folder its in a mounted drive, try unmounting/mounting the drive and try again.

share|improve this answer
    
Thanks that did the trick. – BetaRide Jul 19 '12 at 13:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .