Better rights of exported statistics files, glite-lb-client_branch_3_0_0_RC15
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 2 Mar 2006 18:51:23 +0000 (18:51 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 2 Mar 2006 18:51:23 +0000 (18:51 +0000)
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

index e05aa17..2eb1850 100644 (file)
@@ -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);