From: František Dvořák Date: Thu, 2 Mar 2006 18:51:23 +0000 (+0000) Subject: Better rights of exported statistics files, X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=202a8a962eee5044325ce69b17ed99264d50d9ab;p=jra1mw.git Better rights of exported statistics files, change jp-importer script to be w/o nonsense default values, install the jp-importer script. --- diff --git a/org.glite.lb.client/src/lb_dump_exporter.c b/org.glite.lb.client/src/lb_dump_exporter.c index e05aa17..2eb1850 100644 --- a/org.glite.lb.client/src/lb_dump_exporter.c +++ b/org.glite.lb.client/src/lb_dump_exporter.c @@ -160,7 +160,7 @@ int main(int argc, char **argv) cleanup(1); } snprintf(fname, PATH_MAX, "%s/%s.%ld", store_pref, unique, (long) time(NULL)); - if ( (fd = open(fname, O_CREAT|O_EXCL|O_RDWR, 00600)) < 0 ) { + if ( (fd = open(fname, O_CREAT|O_EXCL|O_RDWR, 00640)) < 0 ) { if ( errno == EEXIST ) { sleep(2); continue; } perror(fname); cleanup(1);