Why doesn't Apple fix the ".DS_Store" bug?

If you search ".DS_Store" in the support archive you'll find the issue has been around for a long time, well over a year. The frustration expressed has been loud and emphatic. The problem? Some folks are finding their computer won't copy some folders from one drive to another. The copying process is interrupted with the following message: "The operation can't be completed because an item with the name ".DS_Store" already exists."


Folks have chosen an Apple computer and something as basic as copying a folder turns out to be a hassle. Apple haven't offered a fix. Apple are an embarrassment.


I've just moved up from Tiger to Mountain Lion. Suddenly some folders I've been copying over for years can't be done! The experts here have suggested it might be a permissions issue or a 3rd-party software issue. They're wrong. IT'S A BUG!


Identifying it took time I'd rather have spent doing something else… (The new 'Apple Experience'?)… As a non-techie who hadn't heard of ".DS_Store" before I read some of the discussions on the issue. The problem seemed to be erratic, some folders could be copied, others couldn't. Here are the steps I took to identify the bug.


1) Since ".DS_Store" files are invisible I used TinkerTool to make them visible, in order to see how they behave.

2) The ".DS_Store" files are nearly always the first item in any folder (viewed by Name or Date Modified etc). Such folders can be copied without a problem. However, where for any reason the ".DS_Store" file isn't at the top of the list (eg where there's an item whose name deliberately begins with a space) the copying of that folder will be interrupted.

3) If a folder can't be copied because the content viewed by Name means the ".DS_Store" file isn't at the top, changing it to view by Date Modified will bring the ".DS_Store" file to the top of the list and allow the folder to be copied.

4) Apple, is that arbitrary behaviour intended? Or is that A BUG?


We want to know!


iHope

Mac Pro, OS X Mountain Lion (10.8.4), 3.2 Ghz Quad-Core Intel Xeon

Posted on Dec 30, 2013 5:47 PM

Reply
95 replies

Jan 11, 2014 9:16 AM in response to Lexiepex

LexSchellings,


Maybe you don't fully understand?


The problem cyberchucker has described is exactly the same problem I've reported, with the same error message.


How can you say it has nothing to do with my issue?


As I've explained previously, this issue is not restricted to folders produced by a Tiger OS. Folders produced by the Mountain Lion OS also cannot be copied to internal and external drives for the same reason. I hope that's clear.


iHope

Jan 11, 2014 2:24 PM in response to Lexiepex

Lex,


Regarding a, not an Apple bug:


You're saying that if I have an empty external hard drive, then use Disk Utility to completely erase it, and then try to copy a folder to that drive, when I get the message


"The operation can't be completed because an item with the name ".DS_Store" already exists."


then that's the expected behavior?


I'm no Apple guru, but to me, that's not a feature, it's a bug.


This used to work for me with no problems, but then started failing a while ago. It may have started with Mavericks, but I don't know, don't care, am not going to mess with it further because I have simple, 10-second workaround that gets around this "feature."


My only continuing interest is whether my workaround is helping others. If it worked for you or did not, either way I'd be interested in hearing about it. There are at least a dozen threads on various forums about this issue, with lots of people way smarter than me not being able to get past it, so I'm curious if my simple fix is a universal solution until Apple allows us to do a copy the natural way, copying to the actual desired destination.

Jan 11, 2014 8:15 PM in response to Lexiepex

Lex. IT IS A BUG. Get over it! I have a new WD NAS to which I have pushed tons of music. I have a new mini with no external apps (ones that didn't come with the system) except my music player. The music on the NAS is my gold standard. If I change any tags, I do it on the NAS, then copy back to my mini. I frequently get this problem when I try to copy back. BTW, the reason I have two copies, one on the NAS and one on the local machine is backup. I backup from the NAS to my local drive. Why I do it this way isnt' the issue either. The fact that copy is broken IS the issue.

Jan 12, 2014 12:31 AM in response to cyberchucker

@Cyberchucker
It is a bug when all or most installations have it. In your case it is you or a few more of the millions. That is called a glitch (unlluckily that is much more difficult to solve). It might even have to do with the Nas in your case (Nas is not one of the strongest points of OSX), I do not know. It comes back to the definitions.

In the iHope case I still think that it is between Tiger and Mavericks, that can be a different glitch (at least that is my opinion now still).

Lex

Mar 19, 2014 3:15 PM in response to cyberchucker

Hi CyberChucker, iHope and all.


Thanks for all your inputs, I've read it all and in a way I'm happy I'm not the only one experiencing this bug / glitch. Call it how you want, the fact is that a simple copy do not work with some folders.


I have the same error as you guys :

"Impossible d’effectuer l’opération car un élément intitulé « .DS_Store » existe déjà." (in French)


My configuration is : I bought a 4To to put into my 2008 MacPro, so that I have a backup disk with everything on it. The purpose of this disck is to store everything I have on my disc and put it some place else so that if my appartement burns I have a copy safe. I also have a 4To Time Machine drive in the MacPro, but that's for every day backup.


The thing is CyberChucker, your trick does not work for me. I've been on other forums and apple support pages and some guys did present this idea of copying to a dummy folder, but I've tried it many times and it does not work.


Strangely, It's only some folders that are a problem. Some copy well, some just don't, and it's always the same ones.


I'm sorry I don't come with an answer, I just wanted to state that I also have this problem AND that CyberChucker's trick unfortunately does not work for me.

If you guys have any other lead on how to solve this, I'd be happy to read it.


Cheers !

Mar 20, 2014 12:55 AM in response to iHope

Is the issue solved already?

.DS_Store is a file that appears in every folder, when you delete it it will reappear.

There are however possibilities to avoid creating them on "network" disks:

In your Tinkertool utility choose the Finder tab and check that setting.

You can also delete the .DS_Store files on a volume or in a folder with the help of a utility called Onyx (http://www.titanium.free.fr), they will be rebuild. This may solve the issue.

In Onyx you choose the "Maintenance" page, in there choose the "rebuild" tab, in there is a section called "Appearance of folder's content", in there choose the disks or folders that you want to clean.

Maybe after all .DS_Store files rebuilt you have no or less issues.

Do not use Onyx for anything else ! Uninstall it when you do not need it any more.

Mar 20, 2014 4:25 AM in response to Lexiepex

Hi Lex,


Unfortunately I have not read anything that solved this issue, neither in this thread nor in others.


Thanks for suggesting again this deletion of all .DS_store files but :

1/ I don't want to do this because it would mean that I loose all my tags (which I use a lot) and other finder window prefs

2/ It's not a viable solution.


By trying to copy files one at a time, I discovered that the ones that posed a problem were the ones with a name starting woth a "#" character. I changed every folders name so there was no "#" left and then the copy went all along with the rest of the files and folders.


I checked if the two drives (the source HD and the backup HD) had the same formating, and yes, they were both formated HFS+ journalised, but not case sensitive.


Could this problem be avoid with a different HD file / bit format ?


cheers

Mar 20, 2014 4:45 AM in response to Macdunet

1. you don't loose anything, but the .DS_Store file is renewed, so that any corruption is gone.

2. what is not a "viable solution" ?

Your remark about the special characters may have value: this is seen often in Macs when copying files that were made/named in Windows.

My post was based on the continuous mentioning of "stopping on the .DS_Store" files.

Since I can not simulate your issue, I can not be sure that my proposal will really solve the issue. It may solve the stopping issue and also the special characters issue.

Mar 25, 2014 5:33 AM in response to revDAVE

Hi,


I'm usually a reader rather than a "post'er", but this problem has been anoying me for months.


I have been trying to back-up 8TB of various stuff from a QNAP storage to brnad new WD 4TB newly formatted external drives using:


- iMac with Mavericks 10.9.1

- Brand new MacPRo (yes that one...) with Mavericks 10.9.1

- MacBookPRo with Mavericks 10.9.1


and the same .ds_store file problem occurs with all three.


I tried deleting the .DS_store file, changing the sort order, renaming the folder, reformatting the external drive as suggested in various post I read, but nothing worked.


This morning, I tried copying a folder from my NAS to my desktop and then copy that folder from my desktop to the WD drive and "Voila". It worked flawlessly, as it should...


I then took an older MacBookPro running Lion, connected the same external hard disk, reformatted it and tried to copy the same folder from the same NAS to the external drive and guess what: it worked.


So, there you go, there is something buggy in the way Maverick handles the copy process from an external drive to onther external drive.


My guess is that when it creates the new folder on the target drive, it also creates the .ds_store file and then when it comes to copying the original .ds_store to the same folder it cannot.


I also guess that the reson why it does not gives us the choice of overwriting the file is because there should not be any need for that since it is a newly created folder.


That's it for now.


I will be doing more testing and report them here.

Mar 26, 2014 4:40 AM in response to doubled2211

Hi Guys,


here are some more news.


I reformatted my iMac hard disk and did a fresh install of Mountain Lion.


I then reformatted my WD HDD and I still can copy directly from my NAS to the external drive without any issue about the .ds_store file.


So, to make a long story short, it is most likely that the copy process in Mavericks is the culprit.


Let's hope that Apple solves this issue in a timely manner...

Apr 2, 2014 12:27 AM in response to iHope

I had the .DS_Store problem as well running Mac OS 10.7. I was upgrading from a one external hard drive to another larger one. I got the dreaded "The operation can’t be completed because an item with the name “.DS_Store” already exists." message. I read a number of posts about it on the forum after running through a course of reformatting the new drive etc. etc., what I finally did was start copying one drive to the other until I got the dreaded message which occured after only a handful of files had been copied over. I then selected the new larger drive in the finder and used the file "find" to make the invisible DS Store files visible on the new drive. I then dragged all of them to the trash, when I did that they did not disappear from the window but changed to a white colour but they were trashed. I then selected the rest of the folders that needed to be copied over from the smaller harddrive, dragged and dropped them onto the new harddrive and everything transferred without any further problem. I had over 2 TB of photo files so it took sometime but it all worked. I think Cyberchuck's folder solution is better but I did not come it across until after I started my procedure. It appears to me after reading so many posts about this problem on various machines, OS systems, harddrives, flash drives that it is obviously an Apple software glitch

Apr 2, 2014 11:29 AM in response to MrMitcheroo

Thanks for your posting MrMitcheroo. Another account by another person whose expensive Apple computer is unable to copy a folder without a problem. Whether you call it a bug or a glitch, Apple should be ashamed. The issue has been well documented for over a couple of years and the only thing the groovy folks at Apple have offered is a deafening silence.

Is this the new "Think Indifferent!" attitude?


iHope

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why doesn't Apple fix the ".DS_Store" bug?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.