Changeset 41003 in vbox
- Timestamp:
- Apr 20, 2012 8:05:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r40542 r41003 5978 5978 locationFull.c_str(), &backendName, &enmType); 5979 5979 } 5980 else if (vrc != VERR_FILE_NOT_FOUND && vrc != VERR_PATH_NOT_FOUND) 5980 else if ( vrc != VERR_FILE_NOT_FOUND 5981 && vrc != VERR_PATH_NOT_FOUND 5982 && vrc != VERR_ACCESS_DENIED) 5981 5983 { 5982 5984 /* assume it's not a file, restore the original location */ … … 5988 5990 if (RT_FAILURE(vrc)) 5989 5991 { 5990 if (vrc == VERR_FILE_NOT_FOUND || vrc == VERR_PATH_NOT_FOUND) 5992 if (vrc == VERR_ACCESS_DENIED) 5993 return setError(VBOX_E_FILE_ERROR, 5994 tr("Permission problem accessing the file for the medium '%s' (%Rrc)"), 5995 locationFull.c_str(), vrc); 5996 else if (vrc == VERR_FILE_NOT_FOUND || vrc == VERR_PATH_NOT_FOUND) 5991 5997 return setError(VBOX_E_FILE_ERROR, 5992 5998 tr("Could not find file for the medium '%s' (%Rrc)"),
Note:
See TracChangeset
for help on using the changeset viewer.