The operation can’t be completed. An unexpected error occurred (error code -50).
Hello,
I have recently (in the last two months) been encountering the following error:
"The operation can’t be completed. An unexpected error occurred (error code -50)."
This error ocures after a few hours of use when my computer refueses to write anything to the disk. I can cause the dialog to apear when I attempt to creat a new folder on the desktop. Furthermore, when I attempt to run the following command in the terminal:
$ mkdir test
> mkdir: test: Invalid argument
As well, when I attempt to list the disks:
$ sudo diskutil list
> sudo: Can't mkdir /var/db/sudo/username: File exists
>
and nothing ever shows up.
So far the only solution I have to remidy this issue is to hold the power button until the system restarts. Sadly, the I lose all work that I did as I cannot write it to the HD.
After running permissions verification and check disk without incident, I bagan to believe that it was a hard drive failure, but after replacing the hard drive with a new one and restoring the files/install, I am begining to believe it is another problem. I have searched google and this board and attempted serveral solutions with no luck.
Any help would be apriciated.
MacBook Pro, OS X Mountain Lion (10.8.2), Mackbook Pro 13" mid-2009,