diff -r 3673b591050c -r ef55b168cedb mtpfws/mtpfw/dataproviders/dputility/src/cmtpsetobjectpropvalue.cpp --- a/mtpfws/mtpfw/dataproviders/dputility/src/cmtpsetobjectpropvalue.cpp Wed Apr 14 16:49:36 2010 +0300 +++ b/mtpfws/mtpfw/dataproviders/dputility/src/cmtpsetobjectpropvalue.cpp Tue Apr 27 17:30:23 2010 +0300 @@ -28,6 +28,7 @@ #include "mtpframeworkconst.h" #include "rmtpdpsingletons.h" #include "rmtputility.h" +#include "cmtpstoragemgr.h" /** Verification data for the SetObjectPropValue request @@ -109,6 +110,11 @@ CMTPObjectMetaData* meta = iRequestChecker->GetObjectInfo(handle); __ASSERT_DEBUG(meta, Panic(EMTPDpObjectNull)); + if(!iSingleton.StorageMgr().IsReadWriteStorage(meta->Uint(CMTPObjectMetaData::EStorageId))) + { + responseCode = EMTPRespCodeAccessDenied; + } + if(responseCode == EMTPRespCodeOK) { TUint32 propCode = Request().Uint32(TMTPTypeRequest::ERequestParameter2);