VirtualBox

Opened 15 years ago

Closed 15 years ago

#3083 closed defect (fixed)

VMDK permissions problems

Reported by: Bengt-Arne Fjellner Owned by:
Component: other Version: VirtualBox 2.1.0
Keywords: Cc:
Guest type: other Host type: Mac OS X

Description

  1. Virtualbox aborts machine start without message if readpermission is missing on underlying file.

Example if ddd.img had been

-rw-------  1 root  wheel  102400000 Jan 20 23:18 ddd.img

In the example below.

  1. Virtualbox allows machine start despite missing write permissions.

See below.

$ ls -l ddd*
-rw-r--r--  1 root  wheel  102400000 Jan 20 23:18 ddd.img
-rw-------  1 baf   baf          655 Jan 20 23:17 ddd.vmdk

$ cat ddd.vmdk
# Disk DescriptorFile
version=1
CID=6dc912ab
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 200000 FLAT "/Users/baf/Library/VirtualBox/VDI/ddd.img"

# The disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="198"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="facbf6c4-2c61-47cc-90d6-79f85838a139"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="6052d422-bced-478d-a797-5b360fdfb85a"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
ddb.geometry.biosCylinders="198"
ddb.geometry.biosHeads="16"
ddb.geometry.biosSectors="63"


$ id
uid=501(baf) gid=501(baf) groups=501(baf),98(_lpadmin),5(operator),80(admin)

Change History (3)

comment:1 by Sander van Leeuwen, 15 years ago

Component: VMM/RAWother

comment:2 by Bengt-Arne Fjellner, 15 years ago

This is fixed now in 2.2.0 See Ticket #1745

comment:3 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed

Thanks for the feedback.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use