I figured out my problem with the help of a gentlemen from Bombich’s forum. I needed to call my folder redirection script from the login script with a
sudo -H -u $1 launchctl load -w /Library/Management/com.domain.link.plist which uses lanuchd to run my script which has the benefits over loginhooks and login items two ways that benefited me. The main reason is the loginhook was too early, the home diretcory and its compoents haven’t been melded together enough at this point for me to redirect folders to the network, while login items run after the finder loads which is not good either. Launchd runs at the perfect time and will run again up to 9 times if it fails execute the script successfully.
Recent Comments