Failing Autoupdate doesn't kill the job anymor, just issues a warning.
[buildfarm-client.git] / run_build
index 464526fdee07f4ce47ed196612167d9a97df9087..77c6de0241fb81d5898153fe3a13493405d91f80 100755 (executable)
--- a/run_build
+++ b/run_build
@@ -90,6 +90,8 @@ my %module_hooks;
 my $orig_dir = getcwd();
 push @INC, $orig_dir;
 
+umask 022;
+
 # make sure we exit nicely on any normal interrupt
 # so the cleanup handler gets called.
 # that lets us stop the db if it's running and
@@ -158,9 +160,6 @@ require $buildconf;
 #use Data::Dumper;
 #die Dumper \%EximBuild::conf;
 
-# some basic checks
-die "$0: need read/write permissions on '$EximBuild::conf{global_lock_dir}': $!\n"
-    if not -r -w $EximBuild::conf{global_lock_dir};
 
 # Does not seem to be necessary
 #die "$0: permissions on '$EximBuild::conf{build_root}' should be >= 0775\n"