On Wed, Jan 14, 2015 at 05:25:02AM +0100, Holger Levsen wrote:
> control: severity -1 important
> 
> Hi Alexander,
> 
> On Dienstag, 13. Januar 2015, Alexander Cherepanov wrote:
> > pxz sets the mode of an output file to be the same as the one of an
> > input file but does it only after compression is over. This leaves the
> > output file with the wrong mode during all the time of the compression
> > process.
> 
> thanks for the bug report! Could you maybe come up with a patch? 

Patch attached, can you take care of an upload and unblock with
the release team?

Cheers,
        Moritz
--- pxz-4.999.99~beta3+git659fc9b.orig/pxz.c
+++ pxz-4.999.99~beta3+git659fc9b/pxz.c
@@ -285,2 +285,2 @@ int main( int argc, char **argv ) {
 		}
 		
		fo = stdout;
+               umask(077);
 		if ( std_in ) {
 			fi = stdin;
 		} else {

Reply via email to