Opened 10 years ago
Closed 8 years ago
#13454 closed defect (obsolete)
guestcontrol rmdir recursive is broken
Reported by: | indifferent | Owned by: | |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 4.3.16 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
Trying to execute rmdir --recursive fail with following output:
> VBoxManage guestcontrol "$ARG_VM_NAME" removedir "/mnt/ramdisk/$BUILD" --recursive --username $VM_USER_LOGIN --password $VM_USER_PASSWORD --verbose Opening guest session as user 'tester' ... Waiting for guest session to start ... Guest session (ID 1) has been started Removing 1 directories ... Recursively removing directory "/mnt/ramdisk/jdk8u20-b26-20141001-140539" ... VBoxManage: error: VERR_DIR_NOT_EMPTY VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSession, interface IGuestSession, callee nsISupports VBoxManage: error: Context: "DirectoryRemoveRecursive(Bstr(it->first).raw(), ComSafeArrayAsInParam(aRemRecFlags), pProgress.asOutParam())" at line 2803 of file VBoxManageGuestCtrl.cpp Closing guest session ...
Host: openSUSE 13.1 x86_64 Guest: RHEL 6.5 x86_64, also can be reproduced on other linux guests.
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
I cannot say, that was the first time I used the command and it failed. Using exec --image "/bin/sh" -- -c "cd /mnt/ramdisk && rm -rf '$BUILD'" as a workaround.
comment:3 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
Note:
See TracTickets
for help on using tickets.
Thanks for the report; what was the last working VBox version for you in this regard?