Honestpuck / homebrew.sh

Install homebrew via Jamf without giving users admin rights
Apache License 2.0
107 stars 30 forks source link

Cleaning up tmp permisisons - Still necessary? #13

Open almostjulian opened 2 years ago

almostjulian commented 2 years ago

Hello,

In several cases, the homebrew.sh script has bricked a M1 mac after installing, I suspect because of the tmp permission changes happening while software update process is happening (software update stages its files in /private/tmp/msu-target-). Is this still needed? If so is there a way to more precisely cleanup without stepping on whatever else happens to be using tmp at the time?

Honestpuck commented 2 years ago

To be honest I haven't tested taking those three lines out. It should be OK, it was put in for Catalina but may not be necessary sin Big Sur, Monterey and M1. I won't have testing time till the weekend.