Created
November 13, 2013 16:16
-
-
Save n8felton/7451747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To fix permissions on NetBoot sets for the Apple NetBoot server. | |
sudo xattr -dr com.apple.quarantine /Library/NetBoot/NetBootSP0 | |
sudo xattr -dr com.apple.FinderInfo /Library/NetBoot/NetBootSP0 | |
sudo chown -R root:admin /Library/NetBoot/NetBootSP0/* | |
sudo find /Library/NetBoot/NetBootSP0/ -type d -exec chmod 755 {} \; | |
sudo find /Library/NetBoot/NetBootSP0/ -type f -exec chmod 664 {} \; | |
for d in $(find /Library/NetBoot/NetBootSP0 -name "NetInstall.sparseimage"); do cd $(dirname $d); sudo rm NetInstall.dmg; sudo ln -s $(basename $d) NetInstall.dmg; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment