Dev things will break when your macOS sessions enters the Active Directocrap. Here are some things to help.
(This supposes your user stays administrator of the computer.)
You may end up by doing some find and replace in some place where the macOS username is hardcoded (like Vagrant files, Homestead.yaml
or $PATH
: it’s the only ones I remember). So: /Users/oldUsername
should become /Users/newUsername
.
You may have to remove all dotfiles symlinks one by one and relink stuff with Mackup. I don’t remember how exactly I dealt with them, sorry and good luck.
You’ll probably have to reinstall or fix permissions of PHP and Composer. As for Dotfiles, I don’t remember how the hell I solved the problem.
From StackOverflow:
sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks
(Note: all your VM’s states are probably lost forever at this point.)
From StackOverflow:
-
update Vagrant and VirtualBox
-
clean exports
-
sudo rm /etc/exports sudo touch /etc/exports vagrant halt vagrant up --provision
find . -name "*.DS_Store" -type f -delete
find "*" -type f -exec chmod 644 {} +
find . -name artisan -type f -exec chmod 755 {} + -print
find . -name vessel -type f -exec chmod 755 {} + -print
chmod 700 .ssh
find . -name "*" -type f -exec chmod 600 {} + -print
find . -name "*.pub" -type f -exec chmod 644 {} + -print