Opened 7 years ago
Last modified 6 years ago
#17583 reopened defect
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 (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
This is intentional as we did some fixes in that area. Please change that parameter from the host side using VBoxManage instead.
comment:3 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:4 by , 7 years ago
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 by , 7 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:6 by , 6 years ago
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 by , 6 years ago
My 2¢? I see some really serious security implications if the guest can manipulate and change things 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... :)
That first command above that fails should be:
setting the prefix to the empty string. Wiki formatting ate the quotes.