mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-29 19:00:50 +00:00
fix bug #23: add gid parameter to chown call
This commit is contained in:
parent
7514b23af4
commit
2b8e0f12c6
@ -620,7 +620,7 @@ sub upid_open {
|
|||||||
|
|
||||||
my $outfh = IO::File->new ($filename, O_WRONLY|O_CREAT|O_EXCL, $perm) ||
|
my $outfh = IO::File->new ($filename, O_WRONLY|O_CREAT|O_EXCL, $perm) ||
|
||||||
die "unable to create output file '$filename' - $!\n";
|
die "unable to create output file '$filename' - $!\n";
|
||||||
chown $wwwid, $outfh;
|
chown $wwwid, -1, $outfh;
|
||||||
|
|
||||||
return $outfh;
|
return $outfh;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user