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.

UnRaid showing different names for folders (Replaced with random letters) when viewing via SMB Mac

Featured Replies

Hi! Just started transferring lots of old drives to my array via Krusader. All going well - but then when i delved in via my mac I can see that some folders the names aren't transfering peroply. So I checked via the Unraid UI and it's correct but when accessing on my mac they are incorrect. Why could this be? On the screenshot, the left is the Unraid UI which is correct, and on the right is mac which isn't. It seemed to have show as random letters and numbers on my mac.

 

Any help? 

Screenshot 2024-03-20 at 00.53.51.png

Solved by JorgeB

  • Community Expert

Not quite sure why this is happening, but the names displayed in the screenshot on the Mac are the sort you get when the long filenames cannot be displayed and it reverts to the old DOS 8.3 version of the names.

Can you post your diagnostics.   Also, if you delete the .DS_Store file 

rm "/mnt/user/Personal and Backups/Backups/.DS_Store"

 

and then disconnect and reconnect the server / folder in finder does it show correctly?

 

  • Author
On 3/20/2024 at 11:26 PM, Squid said:

Can you post your diagnostics.   Also, if you delete the .DS_Store file 

rm "/mnt/user/Personal and Backups/Backups/.DS_Store"

 

and then disconnect and reconnect the server / folder in finder does it show correctly?

 

Hi All! I've tried deleting the DS Store file and it didn't work. 

 

Here is my diagnostic file.. I'd really appreciate a hand here. 

Thanks all x 

tower-diagnostics-20240322-0005.zip

  • Author

I've just realised that on the Unraid UI it doesn't have a location for the folder names that are scrambled... yet I can still open it and the files within. Has this got something to do with it? 

Screenshot 2024-03-22 at 00.15.37.png

  • Author

All the folders that the name are scrambled all seem to not have a "location" in that tab... but can still use and access them. That's the pattern. How can I add a location to them?

  • Community Expert
1 hour ago, bansuri said:

How can I add a location to them?

You can't

 

What do you get from command line with this?

ls -lah /mnt/user/Personal\ and\ Backups/Backups

 

Can you install Fix Common Problems via the Apps tab and run it.  I *think* you may have inadvertently sent stuff to /mnt/disk3 or something that doesn't actually exist.  FCP should show that.

I encountered this problem and traced it to situations (copy files via SMB) where the file name or folder name ends with one or more blank spaces. It seemed odd that SMB should mangle the file name or folder name when it ends in a blank space. I wasn't inclined to investigate the problem further or raise it with SMB project.

 

Of course, this might not be the trigger for mangled folder/file names in your situation.

  • Author
9 hours ago, trurl said:
ls -lah /mnt/user/Personal\ and\ Backups/Backups

 

It doesn't come up with anything

  • Author
7 hours ago, Squid said:

Can you install Fix Common Problems via the Apps tab and run it.  I *think* you may have inadvertently sent stuff to /mnt/disk3 or something that doesn't actually exist.  FCP should show that.

Sadly it came up with no errors

  • Author

I transferred these all of these files using Krusader... shows up correctly in Krusader. Could this be part of the issue? 

  • Community Expert
  • Solution

Did you check if they have a blank space in the end? That can cause what you are seeing, you can also try disabling mangled files on Samba, but then, they might no show up over SMB.

  • Author

Maybe it's because when I used Krusader... I went into my share via the MEDIA folder... and then transfered. Instead of directly to the drive and then the share? 

  • Author
4 hours ago, JorgeB said:

Did you check if they have a blank space in the end? That can cause what you are seeing, you can also try disabling mangled files on Samba, but then, they might no show up over SMB.

THIS FIXED IT.

 

Why on earth would this be the problem???

  • Author

Been deleting the space after the name in Krusader... then re-connecting to the drive in mac and it shows correctly. It also gives it a drive location in the Unraid IU now. Thank you so much. 

 

I'm so confused why this would happen

  • Community Expert
20 minutes ago, bansuri said:

Why on earth would this be the problem???

Because not every OS can display names correctly with spaces in the end over SMB, so Samba purposely "mangles" the names, to make sure they are displayed.

  • Author
3 minutes ago, JorgeB said:

Because not every OS can display names correctly with spaces in the end over SMB, so Samba purposely "mangles" the names, to make sure they are displayed.

Well shows what I know! Thanks so much for this. No idea why I would have put spaces there in the first place but hey... old archive drives for you! Thanks for your help!

Yep, I had a similar reaction. I was feeling incredulous that an "innocuous" space would result in such a loss! Then I just accepted it, renamed a few dozen directory/folder names and file names, and got on with life.

 

"Life. Don't talk to me about life" Marvin The Paranoid Android

 

On macOS I routinely use A Better Finder Rename 12 at several different points in my "managing media for Plex Media Server" workflow. A Better Finder Rename 12 can scan and correct this type of problem before large copies from macOS Finder to Unraid over SMB.

Edited by Maxrad

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.