Opened 12 years ago
Closed 8 years ago
#10832 closed defect (obsolete)
Installer: Error in permissions and handling of umask => Fixed in SVN
Reported by: | jdeblese | Owned by: | |
---|---|---|---|
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 (2)
comment:1 by , 12 years ago
Summary: | Installer: Error in permissions and handling of umask → Installer: Error in permissions and handling of umask => Fixed in SVN |
---|
comment:2 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Thanks for the report. The final 4.2 release will contain a fix (a simple 'umask 022' in the installer script).