summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-12-09 21:00:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-12-09 21:00:50 +0000
commit833de678a8249ad60439730343e353203b44c40e (patch)
treeca26b642a46fc7706748a64e7695d7d9be205170 /app-emulation/vmware-workstation/files
parentfixed patch (diff)
downloadgentoo-2-833de678a8249ad60439730343e353203b44c40e.tar.gz
gentoo-2-833de678a8249ad60439730343e353203b44c40e.tar.bz2
gentoo-2-833de678a8249ad60439730343e353203b44c40e.zip
Added config2 patch to make /etc/vmware/config writable by the vmware group and closing bug #114993.
(Portage version: 2.0.53)
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rw-r--r--app-emulation/vmware-workstation/files/vmware-workstation-5.5.0.18463-config2.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/vmware-workstation-5.5.0.18463-config2.patch b/app-emulation/vmware-workstation/files/vmware-workstation-5.5.0.18463-config2.patch
new file mode 100644
index 000000000000..6c5243a73598
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/vmware-workstation-5.5.0.18463-config2.patch
@@ -0,0 +1,14 @@
+--- vmware-config.pl 2005-12-09 15:06:24.000000000 -0500
++++ vmware-config.pl.orig 2005-12-04 13:41:36.000000000 -0500
+@@ -7327,10 +7327,7 @@
+ error('Unable to write configuration file "' . $name . '".' . "\n\n");
+ }
+ db_add_file($name, 0x1);
+- safe_chmod(0664, $name);
+- my $gid = (getgrnam('vmware'))[2];
+- my $uid = (stat($name))[4];
+- safe_chown($uid,$gid,$name);
++ safe_chmod(0644, $name);
+
+ # Append the promotional configuration if it exists
+ $promoconfig = $libdir . '/configurator/PROMOCONFIG';