--- a/engine/src/PodcastModel.cpp Sat Oct 23 17:30:22 2010 +0100
+++ b/engine/src/PodcastModel.cpp Sat Nov 13 13:54:36 2010 +0000
@@ -304,7 +304,14 @@
dbTemplate.Copy(iSettingsEngine->PrivatePath());
dbTemplate.Append(KDBTemplateFileName);
+ DP1("Copy template DB from: %S", &dbTemplate);
+ DP1("Copy template DB to: %S", &dbFileName);
+
BaflUtils::CopyFile(iFsSession, dbTemplate,dbFileName);
+
+ // important to set this file to not be read only if copying from Z:
+ iFsSession.SetAtt(dbFileName, 0, KEntryAttReadOnly);
+
iIsFirstStartup = ETrue;
DP("CPodcastModel::ResetDB END");
}