I have tried to reindex my messages but I still can not get the search function to work in email

I have tried reindecing my messages by rebuilding the library but I still can't get my message function to work in mail.  Any proposed solutions much appreciated.

Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock all your user files, reset their ownership, and remove their access-control lists. If you've set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
Back up all data.
Step 1
If you have more than one user, and the one in question is not an administrator, then go to Step 2.
Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
Step 2 (optional)
Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
Start up in Recovery mode. When the OS X Utilities screen appears, select
Utilities ▹ Terminal
from the menu bar. A Terminal window will open. In that window, type this:
res
Press the tab key. The partial command you typed will automatically be completed to this:
resetpassword
Press return. A Reset Password window will open. You’re not  going to reset a password.
Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select
 ▹ Restart
from the menu bar.

Similar Messages

Maybe you are looking for

  • Hey Apple when are you going to fix the problems with IOS 8.3??

    Hey Apple when are you going to fix the problems with IOS 8.3?? Message is working weird. I don't have internet service when I'm away from my WiFi, because my phone won't use LTE now. Should I wait for a IOS 8.3.1 update or reset my phone to factory

  • Hide the Signature option in contextual menu

    is there a way to control which item is shown in the contextual menu that appear on PDFs when tap holding? This usually shows 4 options: Text Note Freehand Signature We wouldlike to hide Signature. Thanks

  • Connecting my laptop to my Panasonic plasma TV

    Hey everybody. I am trying to connect my laptop to my TV with a HDMI cord. I've changes my TV to be on the right channel, I've pressed Fn+ F5 but nothing works. I've been told that I need to go into the video card settings in order to press clone / m

  • How to extract current record using get pernr (logical database)

    Hi all, I am using logical database in the program and using <b>get pernr</b> method. But there are multiple entries in the infotype for a perticular employee. i want to extract employees current record whose end date is greater than sy-datum. how to

  • Meet the Interns Nicole and Johnnie

     Hi all! Back in September Johnnie and I joined the Skype team as interns. We have loved working at Skype and have found reading through posts on the community essential in helping us create ideas to improve user experience. We felt it was about time