From 202a8a962eee5044325ce69b17ed99264d50d9ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 2 Mar 2006 18:51:23 +0000 Subject: [PATCH] Better rights of exported statistics files, change jp-importer script to be w/o nonsense default values, install the jp-importer script. --- org.glite.lb.client/src/lb_dump_exporter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.2.3