fix bug #23: add gid parameter to chown call

This commit is contained in:
Dietmar Maurer 2011-10-27 11:13:23 +02:00
parent 7514b23af4
commit 2b8e0f12c6

View File

@ -620,7 +620,7 @@ sub upid_open {
my $outfh = IO::File->new ($filename, O_WRONLY|O_CREAT|O_EXCL, $perm) ||
die "unable to create output file '$filename' - $!\n";
chown $wwwid, $outfh;
chown $wwwid, -1, $outfh;
return $outfh;
};