VirtualBox

Ticket #17583 (reopened defect)

Opened 17 months ago

Last modified 5 months ago

VBoxControl guestproperty set fails with error VERR_PERMISSION_DENIED

Reported by: jimf Owned by:
Component: guest additions Version: VirtualBox 5.2.8
Keywords: VBoxControl set guestproperty VERR_PERMISSION_DENIED Cc:
Guest type: Linux Host type: Windows

Description

The VBoxControl commands below have run fine on numerous previous versions of VirtualBox no longer work on VirtualBox 5.2.8 in the specified guest/host

These commands are being run as root in the guest and fail as shown below:

[root@localhost sva.ledgerU]# VBoxControl --nologo guestproperty set /VirtualBox/GuestAdd/SharedFolders/MountPrefix

VBoxControl: error: Failed to store the property value, error VERR_PERMISSION_DENIED

[root@localhost sva.ledgerU]# VBoxControl --nologo guestproperty set /VirtualBox/GuestAdd/SharedFolders/MountDir "/mnt/hgfs"

VBoxControl: error: Failed to store the property value, error VERR_PERMISSION_DENIED

Change History

comment:1 Changed 17 months ago by jimf

That first command above that fails should be:

VBoxControl --nologo guestproperty set /VirtualBox/GuestAdd/SharedFolders/MountPrefix ''

setting the prefix to the empty string. Wiki formatting ate the quotes.

comment:2 Changed 17 months ago by pentagonik

This is intentional as we did some fixes in that area. Please change that parameter from the host side using VBoxManage instead.

comment:3 Changed 17 months ago by pentagonik

  • Status changed from new to closed
  • Resolution set to wontfix

comment:4 Changed 17 months ago by jimf

Setting things from the host side is not a viable option for us. The management script that is doing this is part of a virtual appliance that is shipped to end users. Asking end users on the various platforms to run an external command will not work for us. Please reopen. This has worked the way it is for us for several years.

comment:5 Changed 17 months ago by jimf

  • Status changed from closed to reopened
  • Resolution wontfix deleted

comment:6 Changed 5 months ago by sfX

Same issue .. I really need to do this from within the VM ..

Anything I can do ?

Any workaround ?

That's really a deal breaker for my environment ..

comment:7 Changed 5 months ago by socratis

My 2¢? I see some really serious security implications if the guest can manipulate and change things on the host from the guest side. And I don't mean your scripts, I mean the scripts that you might not know that they're running (think rogue software).

I could be wrong, but 1) I wouldn't keep my hopes high, 2) I would try to find a way to make it work from the host-side. Start the head scratching... :)

Last edited 5 months ago by socratis (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use