I'm trying to create a file in \private\<SID>\ using RFile::Replace().
However, I'm still getting error -21 (KErrAccessDenied).
I also tried location which should not be protected, such as \Texts\ but the result is same.
So far I've specified no capabilities, but emulator doesn't complain about missing capabilities in epocwind.out, I just get error -21.
Any clue where application private files (e.g. settings) may be written?