Skip to main content
Answer

CrashPlan PROe - Can't find home directory

  • April 12, 2013
  • 1 reply
  • 8 views

Forum|alt.badge.img+12

We've run into a snag when testing CrashPlan PROe deployment via Casper using JAMF's instructional PDF. While running the policy at login, the custom files will be planted into /Library/Application Support/CrashPlan/ and the application will install. The user name successfully connects to their LDAP account but the home folder path is empty, so nothing is selected to backup.

So far we've tried using the recommended setting in our userinfo.sh file:

CP_USER_HOME="$HOME"

When that left the result blank when we examined the install.log we tried this one:

CP_USER_HOME="/Users/$user"

And that resulted in the entire /Users folder being selected for backup... Ugh!
We're running 10.8.3 with Mobile Accounts from Active Directory, so the user's short name matches their LDAP account and home folder title.

Any suggestions?

Best answer by Chris

CP_USER_HOME="/Users/$user" And that resulted in the entire /Users folder being selected for backup... Ugh!

How do you define the $user variable?
Your setup sounds pretty much like ours, we're using

user=/usr/bin/defaults read /Library/Preferences/com.apple.loginwindow lastUserName
CP_USER_HOME="/Users/$user"

which works well in our environment.

1 reply

Forum|alt.badge.img+13
  • Valued Contributor
  • Answer
  • April 17, 2013
CP_USER_HOME="/Users/$user" And that resulted in the entire /Users folder being selected for backup... Ugh!

How do you define the $user variable?
Your setup sounds pretty much like ours, we're using

user=/usr/bin/defaults read /Library/Preferences/com.apple.loginwindow lastUserName
CP_USER_HOME="/Users/$user"

which works well in our environment.