After some xperimentation, I found using:

 $ adb shell cat /data/data/App.AppName/files/appname.db

to copy the file to the PC results in a slightly larger file that cannot be
opened by the PC's sqlite database (RazorSQL), while the file received
using:

adb pull /data/data/App.AppName/files/appname.db 

can be. So, I don't think the StreamWriter method will work as it looks like
I can only use the ADB pull/push commands. I guess the 2nd
(LinuxUtils.Syscall.chmod ...) method is the only one which will work?
Although I'm not sure how setting the file's permission will allow access to
it using ADB pull/push if the device is denying permission to the app's
folder itself?

Andrew



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Changing-Folder-File-permissions-in-MfA-tp5712215p5712231.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to