use user_cp to copy from user's home dir

If the user's home dir is on nfs and the file to be copied is not world
readable 'cp' will fail so use user_cp instead.

BUG=none
TEST=run cros_sdk with .netrc on nfs with perm=600 and see it get copied to chroot

Change-Id: If82c1b562c1ecf1349fe10a9ff937fe401b2de7f
Reviewed-on: https://chromium-review.googlesource.com/167630
Reviewed-by: Peter Mayo <petermayo@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
1 file changed