Ticket #5762 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

OVF import requires ovf file write access => Fixed in SVN/3.1.4

Reported by: joe42 Owned by:
Component: other Version: VirtualBox 3.1.0
Keywords: Cc:
Guest type: other Host type: other


Export an appliance and let the .ovf and .vmdk files be owned by user 'A'. The files have modes 644 (user A read/write, read-only for everyone else).

Now, as user 'B', attempt to import the appliance. This will fail with the following rather unintuitive error message:

 $ VBoxManage import ~someone/somewhere/build.ovf
 VirtualBox Command Line Management Interface Version 3.1.0
 (C) 2005-2009 Sun Microsystems, Inc.
 All rights reserved.
 Details: code NS_OK (0x0), component <NULL>, interface <NULL>, callee <NULL>
 Context: "ImportAppliance" at line 252 of file VBoxManageImport.cpp

Changing the permissions on the .ovf file to 666 will "solve" this problem. However, there should be no need for the import to write to the OVF file, and for a setup where a number of people all use appliances from the same exported read-only file system, this is a complete show-stopper. VirtualBox 3.0 did not require write access to the .ovf file either.

I believe this is a bug and it is definitely a regression from 3.0.

Change History

comment:1 Changed 12 years ago by frank

  • Summary changed from OVF import requires ovf file write access to OVF import requires ovf file write access => Fixed in SVN/3.1.4

Thanks for the report. Fixed in the next maintenance release.

comment:2 Changed 12 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use