who did this let slip through?
authorStephan Kulow <coolo@suse.de>
Thu, 7 Feb 2008 09:59:48 +0000 (09:59 +0000)
committerStephan Kulow <coolo@suse.de>
Thu, 7 Feb 2008 09:59:48 +0000 (09:59 +0000)
zypp/base/GzStream.cc

index faa5b63..d4d5cf0 100644 (file)
@@ -84,7 +84,7 @@ namespace zypp
          }
           else if ( mode_r == std::ios_base::out )
          {
-            _fd = ::open( name_r, O_WRONLY|O_CREAT );
+            _fd = ::open( name_r, O_WRONLY|O_CREAT, 0666 );
             _file = gzdopen( _fd, "wb" );
          }
           // else: not supported