Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SOLVED: rm -rf command returns: cannot remove 'directory_name': Directory not empty

Featured Replies

Hi,

 

I have a shared folder containing 1 folder which contains 1 folder and so on up to 4 levels.

I tried everything I know to remove the share and also the folder.

Each time I tried I got the message

"Directory is not empty"

 

What I already tried:

- Delete the folder folder in the chain (level 1) with rm -rf folder_name

- Delete the last folder in the chain (level 4) with rm -rf folder_name

- List the content of each folder with ln -la. Empty except the subfolder

- Rename the folder. Rename works but still get the message.

- Limit the share to only 1 disk

- Check the disk for errors => no errors

General Info:

- Unraid 

- Linux 5.10.28-Unraid x86_64

- File system: XFS

 

 

Edited by Unraid_Noob

  • Author

Hi,

 

Me again, checked xfs volume in maintenance mode and this did the trick.

 

Cheers.

 

Unraid_Noob

  • Unraid_Noob changed the title to SOLVED: rm -rf command returns: cannot remove 'directory_name': Directory not empty

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.