Changeset 39659 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Dec 20, 2011 10:36:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r39582 r39659 1103 1103 1104 1104 bool fDirExists; 1105 if (ctrlCopyDirExists(pContext, pContext->fHostToGuest, pszDir, &fDirExists)) 1105 int rc = ctrlCopyDirExists(pContext, pContext->fHostToGuest, pszDir, &fDirExists); 1106 if ( RT_SUCCESS(rc) 1107 && fDirExists) 1106 1108 { 1107 1109 if (pContext->fVerbose) … … 1116 1118 return VINF_SUCCESS; 1117 1119 1118 int rc = VINF_SUCCESS;1119 1120 if (pContext->fHostToGuest) /* We want to create directories on the guest. */ 1120 1121 { … … 1127 1128 else /* ... or on the host. */ 1128 1129 { 1129 rc = RTDirCreateFullPath(pszDir, 700);1130 rc = RTDirCreateFullPath(pszDir, 0700); 1130 1131 if (rc == VERR_ALREADY_EXISTS) 1131 1132 rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.