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.

How to fix .DS_Store error?

Featured Replies

I am just started using unRAID with Mac.

 

I was able to make user Shares and copy files and folders to the server.

 

Although it is slower (10 MB/s) but I was able to copy files with no problem.

 

However, when I try to copy files back to Mac. I always get an error message

 

saying that .DS_Store already exists.  This happens for over both SMB and AFP.

 

Is this a known bug?  Then how can I get around this problem?

DS_Store.jpg.f31b65539b6270c221af8e52ce2f50d8.jpg

This is not a bug, it's Finder's default behavior.

 

Use this to avoid the creation of metadata files in remote shares: http://support.apple.com/kb/HT1629

 

After running the described command and logout/login, run this in a terminal logged into unRAID server:

 

find /mnt/user -maxdepth 9999 -noleaf -type f -name ".DS_Store" -exec rm "{}" \;

 

It will remove all .DS_Store files in your array.

  • Author

I did execute the following on the terminal and logout and then login.

 

  defaults write com.apple.desktopservices DSDontWriteNetworkStores true

 

Then I copied one folder into the unRAID server and then copied the copied-folder back to mac on different hard disk.

 

At the end, I got the same .DS_Store error dialog.

 

I don't understand why I am getting the same error message here.

I did execute the following on the terminal and logout and then login.

 

  defaults write com.apple.desktopservices DSDontWriteNetworkStores true

 

Then I copied one folder into the unRAID server and then copied the copied-folder back to mac on different hard disk.

 

At the end, I got the same .DS_Store error dialog.

 

I don't understand why I am getting the same error message here.

 

Did you run the other command I posted?

  • Author

      find /mnt/user -maxdepth 9999 -noleaf -type f -name ".DS_Store" -exec rm "{}" \;

 

This give me an error since there is no directory of /mnt/user.

So change it to

 

      find . -maxdepth 9999 -noleaf -type f -name ".DS_Store" -exec rm "{}" \;

 

and apply to the top level directory of the server.

 

After it is done, I will repeat the copying process again.

  • Author

Thanks.  It is working.

 

No error this time.

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.