Home > Cannot Remove > Cannot Remove Directory Not Empty Linux

Cannot Remove Directory Not Empty Linux

Contents

Your mileage may vary...Boot into archlinux live CD.btrfsck --repair /dev/sda1mount -t btrfs /dev/sda1 /mntrm -Rf /mnt/__active/home/$USER/.config/chromium~umount /mntrebootWarning: There are risks in performing the btrfsck --repair command. Any suggestions will be welcomed. This is the accepted answer. Inequality caused by float inaccuracy Why does low frequency RFID have a short read range? http://dekovsoft.com/cannot-remove/rm-cannot-remove-directory-directory-not-empty.html

Compare elements iteratively Is it ethical for a journal to cancel an accepted review request when they have obtained sufficient number of reviews to make a decision? We run fsck on mounted filesystems without any issues, you can't make any repairs but it can still hint at issues. I tried ls -la to make sure there were no hidden files, and there does not seem to be: I tried sudo rmdir test as well as sudo rm -rf test, especially you are calling yourself "junior"...

Cannot Remove Directory Not Empty Linux

Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search can u try with rm -R ./02 Log in to reply. SystemAdmin 110000D4XK 6902 Posts Re: Unable to delete directory and subdirectories ‏2008-03-28T13:21:28Z This is the accepted answer. asked 4 years ago viewed 22849 times active 1 month ago Visit Chat Linked 1 Can't rm or cd into directory 3 rm -rf doesn't work for an empty directory Related

For example, if you hit a race condition on a network share, it might be that your rm -rf removes data which is just copied to the share by somebody else. Never had it make a filesystem worse than it already was, but it is of course up to you! Luckily there is a complete example in man 2 getdents which you can compile and use without needing to modify anything. Rm Cannot Remove Is A Directory Generally due to a search I did on a subject, and didn't look at the last post date.

If it's the later, it might be good to just let it go for now until you could fsck... Execute bash script from vim Hyper Derivative definition. It can be helpful in the specific case when you know you're going to delete a bunch of files that you do not have "write" permission for, and yet you do In the good case the directory really was empty, so removing it (destroying the mount etc.) did no further harm.

I had already tried all of the suggestions I've read here before I searched and found this thread. Ls: Reading Directory .: Input/output Error You can reboot and force fsck to run as it reboots if you use shutdown -Fr in a console. You can't delete the file (or rather, if you create the file, it reappears under another name). jacksmash Linux - Newbie 15 11-23-2003 01:51 PM Mounting a non-empty directory MasterBean Linux - General 1 07-12-2001 11:34 PM All times are GMT -5.

Rm Rf Cannot Remove Directory Not Empty

Thanks for all the help but using the black magic of xfs_repair, my problem is solved. https://bbs.archlinux.org/viewtopic.php?id=185824 Having a problem logging in? Cannot Remove Directory Not Empty Linux Mine is /dev/mapper/vg3-lv3 umount /3 xfs_check /dev/mapper/vg3-lv3 which returned the following: link count mismatch for inode 4392587948 (name ?), nlink 3, counted 2 link count mismatch for inode 12983188890 (name ?), Cannot Remove Directory Not Empty Ubuntu I changed one method signature and broke 25,000 other classes.

What processes are owned by that user? check over here more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Running rm -Rf $HOME/.config/chromium~ produces the below errors:rm -Rf $HOME/.config/chromium~ rm: cannot remove ‘/home/$USER/.config/chromium/Default/Local Storage’: Directory not empty rm: cannot remove ‘/home/$USER/.config/chromium/Default/Local Extension Settings/pafkbggdmjlpgkdkcbjmhmfcdpncadgh’: Directory not empty rm: cannot remove ‘/home/$USER/.config/chromium/Default/Session LinuxQuestions.org > Forums > Linux Forums > Linux - General rm: cannot remove directory `ff': Directory not empty User Name Remember Me? Directory Not Empty Mac

Topics: Active | Unanswered Index »Newbie Corner »[Solved] rm: cannot remove DIRECTORY: Directory not empty Pages: 1 #1 2014-08-17 18:07:15 Orlin Member From: Florida, United States Registered: 2013-09-07 Posts: 5 [Solved] more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Log in to reply. his comment is here But usually it is not wise to start looking there, instead first try to find the error at your side, because "errare humanum est".

What user is bad_dir? Rm Cannot Remove Is A Directory Ubuntu If something is cracked, any wrong touch might break it. I was able to track down the corresponding folder in the encrypted side of things and delete it there.

By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

Thanks, again!! It's double worded. run mount to view the device name. Linux Cannot Remove Directory Device Or Resource Busy more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science

Nevertheless, you do not use sudo to delete a non-empty directory, you use it to delete a file that is not owned by you. Related 33How do I delete all empty directories in a directory from the command line?3How to remove a directory in www folder1How should I remove or empty these files or folders?0Why This is the accepted answer. weblink Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list.