rstausebach

Q: Security update 2016-002 10.10.5 - Problem

The recent update on my MacPro (2 days ago) came up with a message after restart that "In order to run applications it needed to rebuild libraries" or words to that effect. It then required my password which it did not accept despite multiple attempts. I then kept pressing escape until the message disappeared. With the restart all my application buttons in the bottom tray had disappeared and the standard desktop background for Yosemite  was back, so all my user settings were gone. I run the basic operating system off my MacPro and the balance of my data, applications, documents etc. off a Lacie 10Tb 5 disk array. I tried to do a restore from Time Machine and restored the disk array. I then ran an internet based restore for my MacPro hard drive. My user settings were not returned. All my photos in iPhoto are missing and having to reload from the Cloud. I also found that many of the files on my array had not been restored and had to restore those folders selectively. This morning iTunes pops up as if it is the first time it is being run and I discover that all my music albums (500 odd) have disappeared.

 

I am really unimpressed by all of this....

Mac Pro, OS X Yosemite (10.10.5)

Posted on Apr 1, 2016 12:35 AM

Close

Q: Security update 2016-002 10.10.5 - Problem

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Apr 1, 2016 8:29 AM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 1, 2016 8:29 AM in response to rstausebach

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore is not, in itself, a solution.

    First, empty the Trash, if possible.

    Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:

    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy

    Launch the built-in Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste into the Terminal window by pressing command-V. The command may take a noticeable amount of time to run.

    Wait for a new line ending in a dollar sign ($) to appear.

    The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.

    The Terminal window doesn't show the output. Please don't copy anything from there.

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 9:42 AM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 9:42 AM in response to Linc Davis

    Thanks Linc, I get the following copied to the clipboard:        1259

    Regards,

    Roel

  • by Linc Davis,

    Linc Davis Linc Davis Apr 1, 2016 9:48 AM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 1, 2016 9:48 AM in response to rstausebach

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally 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, but you do need to follow the instructions below.

    Please back up all data before proceeding.

    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 find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. 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. You may be prompted to select a language, then the OS X Utilities screen will appear.

    If you use FileVault 2, select Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

    Select

              Utilities â–¹ Terminal

    from the menu bar. A Terminal window will open. In that window, type this:

    resetp

    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.

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 2:13 PM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 2:13 PM in response to Linc Davis

    Thanks again for your very thorough response Linc. I followed step 1 and ran your first response again and ended up with 506. Thinking that it should be 0, I then went through the process of step 2, requiring an internet recovery. Followed instructions when that had eventually downloaded and restarted, ran first post again. Still 506. Does this mean the problem potentially still exists on 506 of the files and if so are there any other remedies available?

    Much appreciated,

    Roel

  • by Linc Davis,

    Linc Davis Linc Davis Apr 1, 2016 2:26 PM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 1, 2016 2:26 PM in response to rstausebach

    Do you still have the original problem?

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 2:30 PM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 2:30 PM in response to Linc Davis

    I think the only way to establish whether the problem may still exist is to re-run the update, something I am loath to do...?

  • by Linc Davis,

    Linc Davis Linc Davis Apr 1, 2016 2:48 PM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 1, 2016 2:48 PM in response to rstausebach

    Where do you stand now? Have you restored to the status quo before the update?

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 2:53 PM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 2:53 PM in response to Linc Davis

    I restored and got most of my files back, I think.... Like I mentioned in my first post, things like my music and photos are missing but I can get them back fro other sources. So I am back to the best point I can be now. I fear that running the update successfully now does not necessarily guarantee future success if this was affected by file settings which remain unchanged?

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Apr 2, 2016 1:38 AM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 2, 2016 1:38 AM in response to rstausebach

    Please run this command in the same way as before and post the output:

    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) -ls 2>&- | head -n20 | pbcopy

    Anonymize any private information.

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 3:16 PM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 3:16 PM in response to Linc Davis

    Comes up with a list of files showing similar directory structure:

    (sample from one line, xxx's are mine)

    139160      768 -rwxrwxrwx    1 rstausebach      staff              392433 Feb 21  2013 /Volumes/Striped RAID Set 1/rstausebach/Documents/xxx/c/Documents/Documents/xxx/xxxxxxxx/xx/xxx/Nxxxov201 3 PFS/PFS Nov25-2013 docs/3.3 Mining/Appendices/App3.3.21_Equipment_Quotation/letourneau.xps

  • by Linc Davis,

    Linc Davis Linc Davis Apr 1, 2016 3:51 PM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 1, 2016 3:51 PM in response to rstausebach

    Have you moved your home folder to a secondary volume?

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 3:52 PM in response to Linc Davis
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 3:52 PM in response to Linc Davis

    Yup...

  • by rstausebach,

    rstausebach rstausebach Apr 1, 2016 3:56 PM in response to rstausebach
    Level 1 (4 points)
    Desktops
    Apr 1, 2016 3:56 PM in response to rstausebach

    Signing off Linc, 01H00 here but will pick up on any response in the morning.

    Thanks again.

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Apr 2, 2016 1:38 AM in response to rstausebach
    Level 10 (207,946 points)
    Applications
    Apr 2, 2016 1:38 AM in response to rstausebach

    That's asking for trouble, especially if the secondary volume is a software RAID. I suggest that you move the home folder back to the startup volume. If there isn't enough space for all your data, leave some of it (such as media libraries, for example) on the secondary volume.

Page 1 Next