engine/src/PodcastModel.cpp
branchRCL_3
changeset 300 5902e8f443e2
parent 282 cf3842290671
child 341 a648d7ca5e27
--- a/engine/src/PodcastModel.cpp	Thu Oct 28 22:27:12 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Thu Oct 28 22:41:44 2010 +0100
@@ -330,6 +330,10 @@
 	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");
 	}