​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


The operation can’t be completed because an unexpected error occurred (error code -8058).

Hi Everyone,


I am keep getting this error when I try to copy a file or folder to my desktop even though I can create a new folder on desktop. I have tried copying a single file and folder with multily files in it but still getting same error.


I have multiple machines (Mac Pro) which are giving me same error and all of them has same Lion OS X (10.7.4). I have repaired the disk permissions but that would not fix this issue.


Any suggestions/ideas/thoughts ?



Thanks,

Posted on Sep 6, 2012 10:22 AM

Question marked as Top-ranking reply

Posted on Oct 2, 2012 11:46 AM

Quit all applications. Make sure you are in Finder Menu>Go and hold down Alt/option to reveal LIbrary. click Library and look for Preferences. Open that folder and look for com.apple.finder.plist and its Lockfile. Drag that out of the desktop. If it cant copy there then drag that on documents. After creating a copy and deleting tha file under Preferences Restart and try to copy on your desktop.

36 replies

Aug 20, 2015 11:08 AM in response to redesigned

"for any future visitors to this thread: deleting the plist and killing and restarting the finder process did the trick for me as well, no need to log out and back in."


How do you restart Finder? I was directed here like many people and tried the posted solution, but I had to restart the mac to launch Finder again. The fix didn't help me at all, in the end I found that if I wanted to save a file onto a networked computer I had to paste it into public > dropbox. This seems to be the only place I have "modify" permissions and other folders prevent changes.

Aug 21, 2015 12:10 PM in response to baltwo

Thanks baltwo! Though I must have had a mental blackout - just clicking on the Finder icon relaunches it, like it does for every other program that has a desktop icon. I'm sorry for posting such rubbish. 😊


When you say OPT-click, did you mean the cmd button?


Lastly, how do you format posts here? Since it doesn't like BB code.


EDIT: heathf, thanks for the terminal commands, I wish I was proficient in this as in the past the option to use terminal has solved quite a few issues, but I always have to ask someone what to type. However my problem isn't so much copying of a file, it's when I try to paste it I receive this pesky error message.

Dec 3, 2016 2:11 PM in response to watsont.cbc

They are not the lock file per se but they are temporary files for the plist.


If you're trying to remedy the problem delete any file with a name that starts


com.apple.finder.plist


When a new file is written, the system will throw some random stuff after the "plist" like you are showing. Then it will delete the regularly named file and rename the new one without the garbage after 'plist'. By getting rid of all such files starting with that pattern above you are clearing the preferences and any failed attempt to store new ones. Clean slate.

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.

The operation can’t be completed because an unexpected error occurred (error code -8058).

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