Setting permissions correctly on copied symlinks