mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-28 15:57:11 +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) ||
|
||||
die "unable to create output file '$filename' - $!\n";
|
||||
chown $wwwid, $outfh;
|
||||
chown $wwwid, -1, $outfh;
|
||||
|
||||
return $outfh;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user