From: Michal Voců Date: Tue, 30 Oct 2012 14:56:15 +0000 (+0000) Subject: enable group setting again, to set file permissions X-Git-Tag: glite-jobid-api-c_R_2_2_4_1~13 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=fe13e621cc5f9c79e70a4649d9a77589408acad5;p=jra1mw.git enable group setting again, to set file permissions --- diff --git a/org.glite.lb.common/src/log_msg.c b/org.glite.lb.common/src/log_msg.c index bd25d99..be529e9 100644 --- a/org.glite.lb.common/src/log_msg.c +++ b/org.glite.lb.common/src/log_msg.c @@ -195,7 +195,6 @@ try_again: goto cleanup; } -#if 0 /* make the file writable for given group, if specified */ if(NULL != (group_name = getenv("GLITE_GROUP"))) { struct group *glite_group = getgrnam(group_name); @@ -206,7 +205,6 @@ try_again: fchmod(filedesc, 0660); } } -#endif if ( fseek(outfile, 0, SEEK_END) == -1 ) { edg_wll_SetError(ctx, errno, "fseek()");