Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lotsofjam

macrumors newbie
Original poster
Feb 4, 2013
7
0
If I use MCX to make the user folder redirect from /Users/name/desktop to /volumes/storage/name/desktop instead, but I have a loginhook that copies x files from the network to /Users/$1/desktop, will it end up in storage, or in the real folder? More to the point, will it end up on the users desktop?
 
If you used the Workgroup Manager to override the default home directory location of a user to point somewhere else, there is no 'redirection' involved; The home directory is an explicit attribute attached to the account itself.

Your loginhook script, depending on how written, should either use '~' shell expansion or query the HOME environment variable to determine the correct path to the user's home directory.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.