diff -r 3673b591050c -r ef55b168cedb mtpfws/mtpfw/dataproviders/proxydp/src/cmtpsetobjectproplist.cpp --- a/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpsetobjectproplist.cpp Wed Apr 14 16:49:36 2010 +0300 +++ b/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpsetobjectproplist.cpp Tue Apr 27 17:30:23 2010 +0300 @@ -27,6 +27,7 @@ #include "cmtpsetobjectproplist.h" #include "mtpproxydppanic.h" #include "rmtpframework.h" +#include "cmtpstoragemgr.h" /** Two-phase construction method @@ -174,6 +175,10 @@ // Invalid object handle. iResponseCode = EMTPRespCodeInvalidObjectHandle; } + else if(!iSingletons.StorageMgr().IsReadWriteStorage(meta->Uint(CMTPObjectMetaData::EStorageId))) + { + iResponseCode = EMTPRespCodeAccessDenied; + } else { RArray targets;