[pve-devel] r6563 - pve-manager/trunk/lib/PVE
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Oct 27 11:04:34 CEST 2011
Author: dietmar
Date: 2011-10-27 11:04:33 +0200 (Thu, 27 Oct 2011)
New Revision: 6563
Modified:
pve-manager/trunk/lib/PVE/ConfigServer.pm
Log:
fix bug #23: fix chown call
Modified: pve-manager/trunk/lib/PVE/ConfigServer.pm
===================================================================
--- pve-manager/trunk/lib/PVE/ConfigServer.pm 2011-10-20 04:23:01 UTC (rev 6562)
+++ pve-manager/trunk/lib/PVE/ConfigServer.pm 2011-10-27 09:04:33 UTC (rev 6563)
@@ -279,7 +279,7 @@
die "unable to open output file - $!\n";
my $wwwid = getpwnam('www-data');
- chown $wwwid, $filename;
+ chown $wwwid, -1, $filename;
if (!flock ($lockfh, LOCK_EX|LOCK_NB)) {
undef $lockfh; # close
More information about the pve-devel
mailing list