Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.