rtyley / agit

Agit - Git client for Android
https://play.google.com/store/apps/details?id=com.madgag.agit
GNU General Public License v3.0
510 stars 109 forks source link

Clone to SD card on android 4.4 #110

Open cbarreholm opened 10 years ago

cbarreholm commented 10 years ago

Android 4.4 has restricted write access to SD cards only to the app that created the folder. Therefore agit needs create the folders when cloning. See more: http://support.solidexplorer.pl/responses/kit-kat-442-issue

rtyley commented 10 years ago

Hey @cbarreholm, thanks for reporting this issue - quite unexpected :(

Therefore agit needs create the folders when cloning.

I'm confused about this - although I was initially able to reproduce the issue, once the git-repos folder is created, even after it's deleted, clones successfully work - and anyway, Agit always creates the git-repos folder if it doesn't exist.

cbarreholm commented 10 years ago

Hi,

See the attached screenshot. ES Fileexplorer knows which application that owns the folder and labels it with the appropriate icon. Android 4.4.2 keeps track of the owner. I believe it's in /system/etc/permissions. So the initial creation will likely store the permission and subsequent clones will be allowed even if the folder is deleted in between.

Tell me if I can be of any more assistance.

Best regards, Christer

On 26 augusti 2014 22:46:49 CEST, Roberto Tyley notifications@github.com wrote:

Hey @cbarreholm, thanks for reporting this issue - quite unexpected :(

Therefore agit needs create the folders when cloning.

I'm confused about this - although I was initially able to reproduce the issue, once the git-repos folder is created, even after it's deleted, clones successfully work - and anyway, Agit always creates the git-repos folder if it doesn't exist.


Reply to this email directly or view it on GitHub: https://github.com/rtyley/agit/issues/110#issuecomment-53488771