chiark / gitweb /
restore umask
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 18 Jan 2013 18:48:05 +0000 (18:48 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 18 Jan 2013 18:48:05 +0000 (18:48 +0000)
cgi-auth-flexible.pm

index fb161cc..a959cba 100644 (file)
@@ -270,6 +270,7 @@ sub _dbopen ($) {
                                 RaiseError => 1,
                                 ShowErrorStatement => 1,
                             });
+        umask $u;
         die "$dsn $! ?" unless $dbh;
     }
     $v->{Dbh} = $dbh;