btrfs-progs: build: Do not use cp -a to install library links
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 4 Apr 2018 14:04:59 +0000 (16:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Apr 2018 13:06:50 +0000 (15:06 +0200)
commit6cedd688115d85e6f14a43f7653378749ef31624
tree5d18b3a8a19328c3b72fcdbc7207ee78deaff017
parentd0aafc51e4d1fcfd37e80712ba7b404ddde2a7d6
btrfs-progs: build: Do not use cp -a to install library links

Using cp -a to install files will preserve the ownership of the original
files (if possible), which is typically not wanted. E.g. if the files
were built by a normal user, but are being installed by root, then the
installed files would maintain the UIDs/GIDs of the user that built the
files rather than be owned by root.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile