VirtualBox

Ticket #10832 (new defect)

Opened 20 months ago

Last modified 20 months ago

Installer: Error in permissions and handling of umask => Fixed in SVN

Reported by: jdeblese Owned by:
Priority: minor Component: installer
Version: VirtualBox 4.1.18 Keywords: permiissions, umask
Cc: Guest type: other
Host type: Linux

Description

We recently updated a linux machine running 4.1.14 to 4.1.18 (the "all distributions" version), and struggled to get VirtualBox running again. It would start as root, but gave various errors when run as a user. The problem turned out to be fairly simple: both the folder /etc/vbox and the folder /opt/VirtualBox/components had the permissions "rwxr-x---", I suspect because of the installing user having a umask of 027. Granting read and execute permissions on these folders allowed users to run VirtualBox again.

Summary: the installer does not take the current umask into account and leaves the installation in an unusable state.

Error messages seen as a result of this:

  • Could not find VirtualBox installation. Please reinstall.
  • Failed to create the VirtualBox COM object. (NS_ERROR_FACTORY_NOT_REGISTERED)

Change History

comment:1 Changed 20 months ago by frank

  • Summary changed from Installer: Error in permissions and handling of umask to Installer: Error in permissions and handling of umask => Fixed in SVN

Thanks for the report. The final 4.2 release will contain a fix (a simple 'umask 022' in the installer script).

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use