enable group setting again, to set file permissions
authorMichal Voců <michal@ruk.cuni.cz>
Tue, 30 Oct 2012 14:56:15 +0000 (14:56 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Tue, 30 Oct 2012 14:56:15 +0000 (14:56 +0000)
org.glite.lb.common/src/log_msg.c

index bd25d99..be529e9 100644 (file)
@@ -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()");