91fc009f40
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@2787 6952d904-891a-0410-993b-d76249ca496b
16 lines
647 B
Diff
16 lines
647 B
Diff
diff -urN vmware-distrib.orig/bin/vmware-config.pl vmware-distrib/bin/vmware-config.pl
|
|
--- vmware-distrib.orig/bin/vmware-config.pl 2005-12-16 00:51:03.000000000 -0500
|
|
+++ vmware-distrib/bin/vmware-config.pl 2005-12-21 14:34:03.000000000 -0500
|
|
@@ -7327,7 +7327,10 @@
|
|
error('Unable to write configuration file "' . $name . '".' . "\n\n");
|
|
}
|
|
db_add_file($name, 0x1);
|
|
- safe_chmod(0644, $name);
|
|
+ safe_chmod(0664, $name);
|
|
+ my $gid = (getgrnam('vmware'))[2];
|
|
+ my $uid = (stat($name))[4];
|
|
+ safe_chown($uid,$gid,$name);
|
|
|
|
# Append the promotional configuration if it exists
|
|
$promoconfig = $libdir . '/configurator/PROMOCONFIG';
|