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) Unexpected directory found in /mnt/user

Featured Replies

I ran Fix Common Problems, and it shows the list of directories to exclude. One of them was a directory called ".Trash-99" which was quite unexpected.

root@NAS:/mnt/user# ls -la
total 200
drwxrwxrwx  1 nobody users    42 Jul  9 10:17 ./
drwxr-xr-x 18 root   root    360 May 27 10:26 ../
drwx------  1 nobody users    31 Jun  4 15:45 .Trash-99/
drwxrwxrwx  1 nobody users   248 Jul  3 01:10 Audio/

I have no idea where this directory came from or why it's there. My daughter has a Mac and I know that it leaves ".Trashes" droppings everywhere, but I've never seen a ".Trash-99" directory left by it.

 

I checked the directory for contents and it has:

root@NAS:/mnt/user/.Trash-99# ls -la
total 16
drwx------ 1 nobody users 31 Jun  4 15:45 ./
drwxrwxrwx 1 nobody users 42 Jul  9 10:17 ../
drwx------ 1 nobody users 10 Jun  4 15:45 files/
drwx------ 1 nobody users 10 Jun  4 15:45 info/

and there are no files or directories under either of those two sub directories. Does anyone have any idea where this directory may have come from?

 

I'm kicking off virus scans on all the Win & Mac machines that connect to it, just to be on the safe side (stupid AVG cancels the scheduled scans every time it updates itself, it seems).

Edited by FreeMan

  • Author

Nope.

The recycle bin plugin will never put files directly to /user/mnt/.  Do you have any remote NFS mounts in the UD plugin?  I remember somewhere there was a trash file created by a remote NFS mount.

  • Author

No, I don't use NFS, SMB only.

The .Trash-99 appears to be a Linux? generated trash bin.  I found on the Internet where Ubuntu will generate this as a trash folder.  Not sure if it applies to other Linux implementations.  Maybe a Docker with a mapping to /mnt/user/?

  • Author

Hmmm... I do have a couple with mappings to /mnt/user, but I've never noticed this directory before. Binhex-Libresonic & gfjardim's CrashPlan both have a mapping to /mnt/user.

 

If it's a system generated directory being created by one or the other, I should safely be able to delete it, and the docker would recreate it if it's needed, right? Since I didn't create it in the first place, whatever docker (if that's where it came from) that created it should recreate it...

 

I'll go ask on those two support threads if this is a newish thing for either of them. It was created (or updated) on Jun 4th 2017, I'll look to see if there was an update for either on that date.

 

 

Look in the directory and see what files were deleted.  That might provide a clue to who/what is generating the trash bin.

  • Author

As noted in the OP, there are 2 sub-directories, but the .Trash-99 directory is otherwise empty.

3 hours ago, dlandon said:

The .Trash-99 appears to be a Linux? generated trash bin.  I found on the Internet where Ubuntu will generate this as a trash folder.  Not sure if it applies to other Linux implementations.  Maybe a Docker with a mapping to /mnt/user/?

I've had this on some of my shares in the past (never in /mnt/user though).  Always figured that it was via Recycle Bin that I checked out once, decided it wasn't for me and removed it...  But it is an excellent plugin  B|

 

Second thought:  Created by Dolphin / Krusader?  Both IIRC don't actually delete anything when you tell them to, but rather toss it into their own recycle bin...

2 minutes ago, Squid said:

I've had this on some of my shares in the past (never in /mnt/user though).  Always figured that it was via Recycle Bin that I checked out once, decided it wasn't for me and removed it...  But it is an excellent plugin  B|

 

Second thought:  Created by Dolphin / Krusader?  Both IIRC don't actually delete anything when you tell them to, but rather toss it into their own recycle bin...

The only recycle bin folders ever created by the recycle bin plug are '.recycle' that I think is the default samba recycle bin or the one I create - '.Recycle.Bin'.  The '.recycle' folder should never show up, but I have seen it when the plugin has issues.

  • Author

I do have Dolphin installed, but haven't used it in many months. I've never installed the Recycle Bin plugin.


I've posted on both the Libresonic & CrashPlan threads with links back to here so if it's somehow related to one of those two, maybe someone will pipe up.

 

Thanks for the input and I'm open to hearing anything else anyone has to say!

If it's empty, then its safe to delete.  It definitely isn't part of unRaid.  As I said in my second thought, its probably from Dolphin / Krusader

  • Author

I've removed the directory tree. I'll keep an eye out to see if it comes back.

  • 2 weeks later...
  • Author

Well, I'm not sure where it came from, but I've deleted it and it hasn't come back yet, so I'm guessing that it won't.

 

I'll consider this closed. Thanks for the input everyone!

  • 1 year later...
On 7/9/2017 at 10:47 PM, Squid said:

If it's empty, then its safe to delete.  It definitely isn't part of unRaid.  As I said in my second thought, its probably from Dolphin / Krusader

I got it to seems Krusader creates them if you delete stuff....

Archived

This topic is now archived and is closed to further replies.

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.