Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't drag/drop or copy/paste; spotlight missing

I can no longer drag/drop or copy/paste files or folders. I can select "copy" but the option to "paste" is grayed out. I also no longer have spotlight on the menu bar.


One possible cause - there's a tmp folder in my trash bin. I have no idea how it got there. Is that the cause? if so, how do I reinstall the tmp folder?


I'm running 10.5.8 on a Macbook Pro. Thanks.

MacBook Pro, Mac OS X (10.5.8)

Posted on Mar 6, 2012 7:29 PM

Reply
35 replies

Dec 2, 2013 2:47 AM in response to soonermagic1999

It may be too late to help the original contributors to this thread, as this is an old story. But the problem, in one form or another, still comes up, as I recently found. After extensive troubleshooting, I remembered a solution - though I never found the root cause of the problems. I post my answer here now so that others coming late to this forum, as I did, will have another solution to try.


I have a friend who was having much the same trouble on her MacBook Pro running OS X 10.6.8 Snow Leopard as described on this forum. She could not drag & drop files - though she could move windows around by the title bar, so it was not a malfunction of the click-hold function of the trackpad. The same problem accrued when using a mouse. In addition, copy and paste did not work - or, more accurately, past did not work. The Copy function was still available in the Edit menu, while Paste was always grayed out.


Further, no application showed the fonts in her user Fonts folder - even after repairing ACSs. I installed the old, free version of Linotype Font Explorer and, as with Font Book, the user fonts were not shown. Or rather, they were listed but displayed as not available. In Font Book they didn’t show at all. Nor were they available in Photoshop or Illustrator.


None of the standard repair procedures made any difference, not even Disk Warrior. The temp folder, as described in other posts, was extant. But repairing permissions on that folder didn’t help. After creating a new admin user account the problems were still there. However, when I booted from an external hard drive with a separate copy of OS X, none of the problems showed up. I concluded, from all this, that the source of the trouble was not a hardware problem or a flaw in her user account. It was some kind of corruption in the main system somewhere.


A common restorative, reinstalling the OS X 10.6.8 combo update, didn’t work in this case. But before defaulting to the last resort solution of doing a clean install, I remembered that reinstalling the base OS, in this case OS X 10.6.0, over the existing system was occasionally effective in fixing obscure problems. It has the added advantage of not requiring reinstalling applications, recreating accounts and settings, or migrating data from a backup (though I did do a clone back up of her system using SuperDuper! as a precaution). Fortunately I had an OS X Snow Leopard install disc on hand. The only caveat is that I had to use an external DVD drive to boot from the disc as Snow Leopard came on a dual layer DVD - and the optical drive on her old MacBook Pro doesn’t support dual layer DVDs.


Well, this turned out to be the right solution. I updated to OS X 10.6.8 once more and the system was as good as new. Thus two days of grueling troubleshooting had a happy ending.

Feb 8, 2014 3:59 PM in response to Mac OS 9000

Mac OS 9000 wrote:


It's not working for me. After I do sudo ln -s /private/tmp /tmp, it says "ln: /tmp/tmp: File exists". Then I try ls -la / | grep tmp again, and it still shows the wrong permissions.


Should I just "sudo rm -rf private && sudo rm -rf private/var/tmp" then remake those directories?


Don't do that.


Have you tried repairing permission?

Feb 9, 2014 2:07 AM in response to Mac OS 9000

As I stated in an earlier post, I found an alternate solution for this problem, as follows: "... before defaulting to the last resort solution of doing a clean install, I remembered that reinstalling the base OS, in this case OS X 10.6.0, over the existing system was occasionally effective in fixing obscure problems. It has the added advantage of not requiring reinstalling applications, recreating accounts and settings, or migrating data from a backup (though I did do a clone back up of her system using SuperDuper! as a precaution). Fortunately I had an OS X Snow Leopard install disc on hand. The only caveat is that I had to use an external DVD drive to boot from the disc as Snow Leopard came on a dual layer DVD - and the optical drive on her old MacBook Pro doesn’t support dual layer DVDs.


Well, this turned out to be the right solution. I updated to OS X 10.6.8 once more and the system was as good as new. Thus two days of grueling troubleshooting had a happy ending."


I suggest when you are looking for solutions on these boards that you read the entire thread. It may be time consuming but it may also provide the solution you are looking for.

Feb 9, 2014 3:02 AM in response to WhiteDog11

WhiteDog11 wrote:


I found an alternate solution for this problem, as follows: "... before defaulting to the last resort solution of doing a clean install, I remembered that reinstalling the base OS, in this case OS X 10.6.0, over the existing system was occasionally effective in fixing obscure problems.


That sounds like overkill to me simply because one invisible symbolic link is missing or the invisible folder it points to has lost its permissions or is missing.


Here is what Terminal should show:


ls -l / > lrwxr-xr-x@ 1 root admin 11 22 Jun 2010 tmp -> private/tmp

ls -l /Private > drwxrwxrwt 6 root wheel 204 9 Feb 08:28 tmp


For further information type the following in Terminal:


  1. man ls
  2. man ln

Feb 9, 2014 3:30 AM in response to Neville Hillyer

It is overkill - except when it's not. The Terminal solution did not work for me as it has not worked for others posting here, including Mac OS 9000. The problem for many is clearly something more than a missing symlink or improper permissions on a single folder. It crops up with a variety of symptoms, for which the Terminal solution works occasionally. Other times it's not enough. Which is what I found. A solution is not overkill when all lesser solutions failed to resolve the issue. As I said, I stopped short of the most drastic solution, which proved unnecessary in this instance. Later that same computer got into even more serious trouble and I did have to reinstall the system. I was careful about the files that I restored from backup in an effort to avoid returning the corrupted files that caused the problem in the first place. This was a lot of work, but less onerous than reinstalling all the software on a clean system.

Feb 10, 2014 3:05 PM in response to WhiteDog11

I see your point. There are clearly some cases when an install is called for. However if it is that bad I suspect any improvement will be short lived unless you do a clean install without importing anything at the install stage. Unless you do this you cannot be sure that you are not reintroducing whatever is corrupted.


I have had a play to see how far it is reasonable to go with a simple script to correct a few things. The script below does the following:


  1. creates a folder at /private/tmp if it is missing
  2. re-asserts invisible symbolic links at: /etc, /tmp and /var


I have tested it on Tiger and Leopard with various of the above missing and it appears to work well.


However, if the etc link is not working the password for the script will not function. A workaround is to copy /private/etc to the root. The script will then work except that it will not overwrite /etc so this should be corrected later.


To use the script:


  1. quit all applications
  2. paste the script as one line into Terminal
  3. hit return key
  4. supply admin password
  5. hit return key again
  6. restart the Mac


Script:

sudo bash -c 'cd /; p=private; t=tmp; mkdir -p $p/$t;
f(){ ln -fhs $p/$1 $1; echo $1 >> .hidden; }; f $t; f etc; f var'

Feb 10, 2014 6:27 PM in response to Neville Hillyer

You're right that a clean install is the best solution for a seriously damaged system (and it's the one Apple tech support routinely suggests for any problem they don't understand or cannot resolve over the phone). On the MacBook Pro where I did the reinstall-update procedure, the problem was somewhere in the system, not the user account, so reinstalling over the existing system did the trick. Later the same computer developed more serious trouble for which this solution did not work so I had to resort to a clean install. The challenge is to decide how serious the problem is and what is the most appropriate solution under the circumstances. For some problems, perhaps for most, a clean install is overkill. It's also important to distinguish between hardware and software problems. Back in the day my old G3 seemed to have cronic software issues. These turned out to be caused by a slowly dying motherborad, for which the only feasible answer was a new computer.


Recently I had a nagging audio problem on my Mac Pro that no standard troubleshooting could fix. I finally resorted to the reinstal-update procedure there, too. And it worked. Sometimes a problem is just too obscure to figure out the precise cause and the only way around it is to use this kind of shotgun approach. Other times you may find a precise solution like the one you recommend. However, that can require a level of expertise beyong the reach of most of us. For some of us here, though, the problem you resolved was just part of a more complex mix of symptoms for which your solution was insufficient. And that's no untypical. Many times by the time you run into obvious trouble on a system, more than one thing has gone wrong.


On the other hand, sometimes the most basic technique is all that's needed. I recently worked on a relatively new Mac mini on which Excel was malfunctioning. I started out, as I usually do, by validating the boot disk and repairing permissions with Disk Utility. There were hundreds of permissions problems that needed to be fixed. And, despite the fact that there is no obvious connection between Excel and the system files that repairing permissions addresses, nevertheless, repairing permissions fixed the problem with Excel. I mention this for the benefit of those skeptics who think that repairing permissions is unnecessary or a waste of time. While it's not a cureall (and I don't know anyone who ever said that it is), stilll permissions repair often does solve problems and improve system performance.

Feb 11, 2014 8:58 AM in response to Neville Hillyer

Applejack is great if you've migrated no further than OS X 10.6.8 Snow Leopard. But development was dropped with Lion. Apparently Apple was making things too difficult so, unfortunately, the developer decided it was no longer worth the trouble adapting his app. However, Applejack would not have prevented or solved the problems at issue here. There are other ways to do what Applejack does, though it takes more than one app to do them. I use Disk Utility and Cocktail for routine maintenance on my Mac Pro running OS X 10.7.5 Lion.

Feb 11, 2014 5:27 PM in response to Neville Hillyer

Neville Hillyer wrote:


Mac OS 9000 wrote:


It's not working for me. After I do sudo ln -s /private/tmp /tmp, it says "ln: /tmp/tmp: File exists". Then I try ls -la / | grep tmp again, and it still shows the wrong permissions.


Should I just "sudo rm -rf private && sudo rm -rf private/var/tmp" then remake those directories?


Don't do that.


Have you tried repairing permission?

I did with no effect at first... then it was fixed after a reboot (which I couldn't do before), not sure if the permissions repair had anything to do with it. However, this is the third time this has happened out of nowhere.

Can't drag/drop or copy/paste; spotlight missing

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