Question: Is anyone else running into this issue with Mojave? “macOS needs to repair your Library to run applications.” We get this with every new users added when we upgrade to Mojave from previous OSs.
Is this unique to Mac with T2 (in my case 2019 MacBook Pro 15")? A group OF MacBooks with the same set up as a group of iMacs has been hit by this but the iMacs don't suffer despite some policies FUT DMGs.
iMacs don't have T2 chips (except the Pro), but its also about if a change is made to a users library folder (IE you have something set to Fill templates), to fix you can either disable SIP or reimage without filling the user template.
Gabe Shackney
Princeton Public Schools
@RedWings That's not true. I still do plenty by writing to the User Template without any issues whatsoever.
@allanp81 Its only certain things in the User Template that don't affect it currently, but this is not something I'd recommend you keep doing for the long run. It will eventually break, and its probably better to find your work arounds now. Between SIP and the T2 your almost guaranteed to have issues going forward playing with the user template.
Gabe Shackney
Princeton Public Schools
I don't see why, depending what you do. I generally only use it for populating things in preferences to make software work, or occasionally populate things in the documents folder if an app needs something there.
Because of the above. Thats a folder that SIP tries to keep exempted, but changes still can cause problems depending on usage (specifically one I know of is Safari preferences being filled in User Templates) and will flag as a bad library when the user logs in. Otherwise Apple doesn't support changes to anything in /System. Many of the discussions of SIP and T2 security here on jamf confirm this and I would say most have moved away from FUT deployments. There are other workarounds and its all very annoying, but again probably better to be ahead of this.
Gabe Shackney
Princeton Public Schools
@gshackney Apple's documentation is a bit vague with regards to how much of /System is actually protected. Their page https://support.apple.com/en-gb/HT204899 suggests that the whole of /System is protected but obviously that's not the case.
@allanp81 For a bit of a deep dive perhaps take a look at SIP security which is a great write up by our friend @rtrouton
He shows how to identify SIP exempted folders in /System . I think based on the above article though Apple states the entire /System is protected, which I take as "it will eventually be true".
Gabe Shackney
Princeton Public Schools
User Template is now located outside of /System by the look of it in Catalina.
@gshackney Looking at the docs on rtrouton's site also suggests that /System/Library/User Template isn't included in the protection. I've confirmed this on one of my devices by checking the rootless.conf file and seeing the asterisk before the listing.
@allanp81 Since we stopped writing anything to the User Template, our issues are all resolved. All we were writing to them were preferences. Either way, I've talked to a former colleague of mine at Apple and he confirmed that Apple does not want anything writing to the User Template.
Why did they explicitly exclude it then?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.