Don't fail for EPERM when hardlinking
Don't fail for EPERM when hardlinking

As the manual page doesn't say, but the in-code kernel documentation
shows, hardlinking for normal users can fail for a variety of
reasons (including very common situations such as non regular file
or non writable file), if the owner of the file does not match
the user linking (e.g. when checking out a shadow repo with a root-
owned master).
If that happens, fail back silently to copying instead of aborting
the whole operation.

https://bugzilla.gnome.org/show_bug.cgi?id=682298

sujitfulse/ostree,sujitfulse/ostree,gatispaeglis/ostree,resin-io/ostree,sujitfulse/ostree,GNOME/ostree,sujitfulse/ostree,resin-io/ostree,leandrosansilva/ostree,gatispaeglis/ostree,leandrosansilva/ostree,GNOME/ostree,GNOME/ostree,gatispaeglis/ostree,GNOME/ostree,resin-io/ostree,gatispaeglis/ostree,sujitfulse/ostree,GNOME/ostree,gatispaeglis/ostree,gatispaeglis/ostree,leandrosansilva/ostree,resin-io/ostree,leandrosansilva/ostree,leandrosansilva/ostree,resin-io/ostree