CrashPlan PROe - Can't find home directory

UESCDurandal
Contributor II

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?

1 ACCEPTED SOLUTION

Chris
Valued Contributor
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.

View solution in original post

1 REPLY 1

Chris
Valued Contributor
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.