Search code examples
androidxamarinfile-permissionssandbox

World readable writable __override__ directory in Xamarin application sandbox


Can anyone shed some light about designation of __override__ folder Xamarin creates in application sandbox? As it turned out it is world readable writable which is causing problems with security checks. I have tested it for production app on stock device and got following:

shell@m0:/data/data/com.myapp/files/.__override__ $ mkdir testdir
shell@m0:/data/data/com.myapp/files/.__override__ $ echo "content" >> testfile
shell@m0:/data/data/com.myapp/files/.__override__ $ ls
testdir
testfile
shell@m0:/data/data/com.myapp/files/.__override__ $

Is there any way to get rid of this folder or make it protected as the rest of application sandbox folders?


Solution

  • Have asked Xamarin support directly and as it turned out it was a regression bug which will be fixed with further updates: https://bugzilla.xamarin.com/show_bug.cgi?id=37422