# store logs on remote server:
upload_logs() {
[ -n "$RSYNC_MIRROR" ] || return 1
- umask 022
- rsync --exclude dmesg.log --times --partial -az --quiet /var/log/grml-buildd.* \
+ umask 002
+ rsync --exclude dmesg.log --times --partial --copy-links -az --quiet /var/log/grml-buildd.* \
$FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
}