#ifdef HAVE_LCHOWN
if (DO_CHOWN (lchown, dst_path, src_sb.st_uid, src_sb.st_gid))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("preserving ownership for %s"), dst_path);
goto un_backup;
}
#else
{
if (DO_CHOWN (chown, dst_path, src_sb.st_uid, src_sb.st_gid))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("preserving ownership for %s"), dst_path);
goto un_backup;
}
}
if (utime (dst_path, &utb))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("preserving times for %s"), dst_path);
return 1;
}
if (DO_CHOWN (chown, dst_path, src_sb.st_uid, src_sb.st_gid))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("preserving ownership for %s"), dst_path);
return 1;
}
}
{
if (chmod (dst_path, src_mode & x->umask_kill))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("preserving permissions for %s"), dst_path);
return 1;
}
}
/* Reset the temporarily changed mode. */
if (chmod (dst_path, dst_sb.st_mode))
{
- error (0, errno, "%s", dst_path);
+ error (0, errno, _("restoring permissions of %s"), dst_path);
return 1;
}
}