Permissions error?


(briantvt) #1

I started getting an error message from my Sophos virus protection app. early last week: “Please contact your system administrator. Your Mac is running with non-standard permissions on key directories and your Mac may be insecure.”

I’ve run 2 Onyx scans to fix permissions and perform other maintenance, and it still comes up every time my old MacBookPro restarts. Sophos’ support website (entry #131959) suggests a complex Terminal-based fix that I’m not comfortable trying. I’m running Sierra (macOS 10.12.6) on a 2012-vintage MBP (with an added SSD drive) that otherwise runs fine. Any suggestions?


RE: [TidBITS Talk] Permissions error?
(Al Varnell) #2

Apple deprecated fixing permissions when it introduced System Integrity Protection (SIP) https://support.apple.com/HT204899 which makes it impossible for even a user with root permissions to change permission on protected files and folders. That’s why running OnyX wasn’t able to fix your problem. You have a couple of choices. You can run those Terminal commands from Recovery https://support.apple.com/HT201314 to temporarily disable SIP, fix permissions and then re-enable them or, again from Recovery, re-install Sierra. The latter won’t touch your user data or 3rd party apps, it just gives you a fresh macOS.

-Al-


(briantvt) #3

Many thanks, Al. What are the pros and cons of the 2 suggested solutions? I know I should have a backup copy of Sierra, but I don’t — where would I find one? To clarify, I used to do sorts of system adjustments back in the pre-OS X days but have been quite shy about it for a decade or more and have just not kept up with the technology, typically relying on Onyx and Apple system updates to keep my system together. I may need to seek out some in-person assistance.


(Al Varnell) #4

briantvt
December 5
Many thanks, Al. What are the pros and cons of the 2 suggested solutions?

Since I don’t know exactly what those Terminal commands you referenced were, I can’t really say. I was just guessing they had something to do with disabling SIP. If so, then that will take longer than simply updating Sierra.

I know I should have a backup copy of Sierra, but I don’t — where would I find one?

From Recovery, as mentioned earlier.

Or you can download it from

<https://itunes.apple.com/app/macos-sierra/id1127487414?mt=12>


(briantvt) #5

Can I trust that nothing else will change beside having to redo system settings?


(Al Varnell) #6

Is this about restoring macOS? I’m not seeing any of the previous discussion here.

Which of the three choices have you decided on?

-Al-


(briantvt) #7

I asked: "Can I trust that nothing else will change beside having to redo system settings? “

That was in response to your suggestion that re-installing Sierra was probably the more straightforward solution to my permissions issue. I’m just feeling very rusty around addressing system-level issues, which I’ve mostly avoided for 15 years or more, so not as confident as I once was.


(briantvt) #8

Amidst my other (non-IT) commitments I’m having difficulty setting aside the time to reinstall Sierra to address the permissions error identified by Sophos last week. I’ve not seen any other problems, though I understand there may be hidden vulnerabilities.

Is there any way to asses the urgency of this fix?


(frederico) #9

Just stepping in with my opinion here, reinstalling (dirty install/ System Restore) really shouldn’t take terribly long, once you’ve downloaded the most recent installer (assuming you have decent hardware and not a terribly slow or badly fragmented/overly-full HDD); you shouldn’t be presented with much of anything in terms of restoring preferences or even network settings, but you will be logged out of and forced to log back into iCloud on every account and the Mac App Store (along with the requisite 2FA auth codes); you’ll want to immediately also check for and run System Updates to get the most recent security updates that might not be in your installer.

If I were you, I’d also disable Sophos until you’ve completed the whole process; nothing else should matter. It also never hurts to run Disk First Aid from within the Installer before you restore.

You might run into an odd app here or there requiring reactivating, as well.


(briantvt) #10

Many thanks. It’s feeling less daunting now. But I don’t know what a 2FA code is.


(frederico) #11

Two Factor Authentication. If you have an AppleID (you almost certainly do), and you have enabled 2FA via your online AppleID account (you should), you will need to reauthorize each iCloud account (AppleID) for each user account by entering a six digit code you will receive on a trusted device, such as an iPhone, another Mac, or frequently the very Mac you are using (assuming it has already been authorized as a trusted device).


(frederico) #12

PS: having only just now carefully reread this thread, I strongly suggest you download the full installer from the link above, and do not attempt to do a System Restore/reinstallation from Recovery mode; the latter method will effectively take much longer to complete, as it must download the installer during the process; whereas you are free to keep working while downloading the standalone installer. Once downloaded, just run it while logged in (after disabling Sophos as advised previously) and once rebooted from the macOS Sierra Installer, run Disk Utility to then run Disk First Aid (Repair Disk), then choose ‘Reinstall macOS’.

The 2FA bits come after your first login attempt, and when you open the Mac App Store to check for and install any additional updates.


(briantvt) #13

Many thanks for spelling this all out. Seems much less intimidating now.