Fix umask of upload_logs in buildd/functions.sh
authorMichael Prokop <devnull@localhost>
Sat, 22 Dec 2007 09:30:49 +0000 (10:30 +0100)
committerMichael Prokop <devnull@localhost>
Sat, 22 Dec 2007 09:30:49 +0000 (10:30 +0100)
buildd/functions.sh

index 471a126..60667d5 100755 (executable)
@@ -78,7 +78,7 @@ create_logs() {
 # store logs on remote server:
 upload_logs() {
   [ -n "$RSYNC_MIRROR" ] || return 1
 # store logs on remote server:
 upload_logs() {
   [ -n "$RSYNC_MIRROR" ] || return 1
-  umask 022
+  umask 002
   rsync --exclude dmesg.log --times --partial -az --quiet /var/log/grml-buildd.* \
   $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
 }
   rsync --exclude dmesg.log --times --partial -az --quiet /var/log/grml-buildd.* \
   $FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
 }