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

Permissions problems

Hi all


Im on a macbook Pro mid 2009 Core 2 Duo 2.53, running Yosemite and am having this permissions problem where I can't save anything or create new folders or delete. I get this error message "unexpected error (error code -50)" Safari is also bugged as it displays a security trust certificate and doesn't let me view any web pages. Repairing permissions in safe mode temporarily sorts this issue out, but not for long.


The first obvious thing I could think of was the hard drive was tired. So I installed a new SSD, I though the problem was over, but after about 4 days the error message is back!!!


Things I have tried:

– Repaired permissions

– Verified hard drive

– Wiped HD and installed latest Yosemite.

– Migrated old backup from time machines

– Reinstalled Yosemite and started a fresh without migrating my apple ID account

– Wipe HD and installed Mavericks from remote disk


I am completely lost!! I don't understand how this problem can still be happening on a brand new hard drive. What do people think? Is it time to finally get a new computer? Or could this be a separate hardware problem? Any ideas would be much appreciated.

MacBook Pro, OS X Yosemite (10.10.5), SSD

Posted on Nov 23, 2015 9:30 AM

Reply
7 replies

Nov 23, 2015 11:42 AM in response to Noski12

Launch the Console 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.

The title of the Console window should be All Messages. If it isn't, select

SYSTEM LOG QUERIES ▹ All Messages

from the log list on the left. If you don't see that list, select

View ▹ Show Log List

from the menu bar at the top of the screen.

Click the Clear Display icon in the toolbar. Then take an action that isn't working the way you expect. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

Please don't indiscriminately dump thousands of lines from the log into this discussion.

Please don't post screenshots of log messages—post the text.

Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

Nov 28, 2015 7:26 AM in response to Noski12

Hi Link, thanks for your response. So the problem just happened. Here is an extract from the log which I believe was from the point of the crash thats causing the permission errors.



28/11/2015 10:44:38.007 watchdogd[225]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0

28/11/2015 10:44:38.084 powerd[49]: SCPreferencesLock open() failed: Invalid argument

28/11/2015 10:44:38.092 powerd[49]: SCPreferencesLock open() failed: Invalid argument

28/11/2015 10:44:38.253 locationd[275]: Could not write data to disk /var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/cache.plist

28/11/2015 10:44:38.255 airportd[52]: SCPreferencesLock open() failed: Invalid argument

28/11/2015 10:44:38.505 configd[48]: LINKLOCAL en1: parent has no IP

28/11/2015 10:44:38.539 configd[48]: network changed: v4(en1-:192.168.1.6) DNS- Proxy- SMB-

28/11/2015 10:44:38.652 fontd[267]: sqlite3_reset FAILED(14) for CopyURLBookmarkDictionaryForDirectory statement (0x7face9519750)

28/11/2015 10:44:38.891 identityservicesd[290]: <IMMacNotificationCenterManager: 0x7f8090578090>: notification observer: com.apple.iChat notification: __CFNotification 0x7f809054d420 {name = _NSDoNotDisturbDisabledNotification}

28/11/2015 10:44:38.891 imagent[292]: <IMMacNotificationCenterManager: 0x7fb9d0552cf0>: notification observer: com.apple.FaceTime notification: __CFNotification 0x7fb9d0480c00 {name = _NSDoNotDisturbDisabledNotification}

28/11/2015 10:44:38.943 identityservicesd[290]: <IMMacNotificationCenterManager: 0x7f8090578090>: NC Disabled: NO

28/11/2015 10:44:38.944 imagent[292]: <IMMacNotificationCenterManager: 0x7fb9d0552cf0>: NC Disabled: NO

28/11/2015 10:44:38.969 imagent[292]: <IMMacNotificationCenterManager: 0x7fb9d0552cf0>: DND Enabled: NO

28/11/2015 10:44:38.969 imagent[292]: <IMMacNotificationCenterManager: 0x7fb9d0552cf0>: Updating enabled: YES (Topics: (

"com.apple.ess",

"com.apple.private.ac"

))

28/11/2015 10:44:38.969 identityservicesd[290]: <IMMacNotificationCenterManager: 0x7f8090578090>: DND Enabled: NO

28/11/2015 10:44:38.969 identityservicesd[290]: N/A

Nov 29, 2015 10:20 AM in response to Noski12

Please back up all data before proceeding.

This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, 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.

Step 1

If you have more than one user, and the one in question is not an administrator, then go to Step 2.

Triple-click anywhere in the following line on this page to select it:

sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg,nouunlnk {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

Copy the selected text to the Clipboard by pressing the key combination command-C.

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. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.

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. When the OS X Utilities screen appears, 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.

Permissions problems

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