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.

error when deleting folder "No such file or directory"

Featured Replies

Hello guys, 

i want to delete a folder with some files in it. Its no longer in use (Nextcloud and MariaDB are no longer installed). But i cannot delete it via krusader nor terminal/console. I tried the following. Any ideas what i am doing wrong? I created a folder on /appdata and deleted it successfully.

I am on OS v6.12.5.

unraid.png

  • Community Expert

The first line in your screenshot refers to 

  /mnt/user/appdata/Nextcoud22

while the others seem to be referring to

  /mnt/user/appdata/Nextcloud22

which is not the same as there is an extra ‘l’ in the name.

  • Author
On 12/3/2023 at 8:48 PM, itimpi said:

The first line in your screenshot refers to 

  /mnt/user/appdata/Nextcoud22

while the others seem to be referring to

  /mnt/user/appdata/Nextcloud22

which is not the same as there is an extra ‘l’ in the name.

Thanks for the reply. You are right, i miswrote it in the first line. However the command sudo rm /mnt/user/appdata/nextcloud22 also has the same output:
rm: cannot remove '/mnt/user/appdata/nextcloud22': No such file or directory

And i dont know why, because the directory exists...

  • Community Expert

Are you sure it is not the directory without the 'l' that exists as the screenshot suggested.

  • Author

yes you are right again :D But then the first command line should have worked right? without the "l"

i just tried: sudo rm -r /mnt/cache/appdata/nextcoud22

and sudo rm -r /mnt/user/appdata/nextcoud22

and still same error. Still cannot delete it via Krusader...

  • Author

ok, wow. i did not know, i have to care about large and lower letters. im sorry and thanks for your help, very much appreciated!

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.