Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114993 - permissions issue w/vmware-workstation file /etc/vmware/config
Summary: permissions issue w/vmware-workstation file /etc/vmware/config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 08:42 UTC by eric
Modified: 2005-12-09 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch attached. (vmware-config.pl.diff,522 bytes, patch)
2005-12-09 12:11 UTC, eric
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eric 2005-12-09 08:42:54 UTC
I have emerged vmware-workstation 5.5.0.18463.  Go to >Edit>Preferences, and
select the memory tab.  Attempt to set reserved memory to any different value,
then click OK.  I was getting a file permission issue on /etc/vmware/config.  I
believe the steps to fix this would be to do this in the ebuild:

chgrp vmware /etc/vmware
chmod g+w /etc/vmware
chmod g+w /etc/vmware/config

Reproducible: Always
Steps to Reproduce:
1. See 'details' section.
2.
3.

Actual Results:  
Things worked as expected.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 11:28:07 UTC
Unfortunately, this file is written by vmware-config.pl and if we set it to be
writable, it is set not to be by vmware-config.pl, so making changes to the
ebuild won't help there.  If you want to look through vmware-config.pl and write
a patch to make it group-writable in there, I can make the group ownership
change, since it doesn't remove the old file, the group stays the same.
Comment 2 eric 2005-12-09 12:11:01 UTC
Created attachment 74397 [details, diff]
Patch attached.

Attached is a patch to set /etc/vmware/config to mode 664 with group ownership
'vmware'.  I just tested it and it seems ok.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 12:54:35 UTC
What version of VMware Workstation is this against?  I would bet that it will
work on them all, but I'd prefer err on the side of caution for now.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 12:54:58 UTC
Nevermind... I'm blind
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 13:00:10 UTC
Ficed in CVS... thanks for the patch!
Comment 6 eric 2005-12-09 13:02:51 UTC
To confirm:  are you planning to do something like 'chgrp vmware /etc/vmware;
chmod 775 /etc/vmware' in the ebuild?  I believe you still need that because
vmware will attempt to write a temporary lock file inside /etc/vmware.  My patch
did not address this.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-09 13:51:37 UTC
Yes, that was done.