First, thanks for your fast reply. This Capability Check from Carbide cornered the problem a little. However, the result says me, that I would need to include Capability "DEPENDENT". As I found out, this means depending on runtime context one or another cap is needed. But I still don't really know which.
MkDirAll causes one of the problems, and KFileName is accessing C://documents. This is not in the private folder of the app, so do I need WriteDeviceData for it?
The other issues are RFile.Open(),
err = file.Open(aFs,KDescriptionFile,EFileRead);
In both cases it's again DEPENDENT. But here, KDescriptionFile is in the protected Application Folder - so why do I need here a Capability?
err = file.Replace(CCoeEnv::Static()->FsSession(), KDescriptionFile, EFileWrite);
Last, RConnection.Start() and CRepository.Get() are listed as DEPENDENT as well, but I have included NetworkService Capability, I think that 2 warnings can be ignored, though.
Thanks for your help in advance