Ext SD card permission intent save as file

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
yogi108
Posts: 100
Joined: 09 Nov 2016 08:00
Contact:

Ext SD card permission intent save as file

Post by yogi108 » 22 Oct 2017 07:23

Hi,

I have a strange behavior using Desmantos intent flow.
Export flows, send/share intent automagic, save as file AM
Search path ext. Sd card, save -> permission error

If I use action flows/widgets export to sd card no problem.

I also tried settings permission sd card disabling/enabling, same behavior.

Huawei P9lite 7.0

Any hints?

Thanks,
Regards

Edit: tried also without intent directly saving with AM save as file,
only working internal card, external sd card permission denied
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Ext SD card permission intent save as file

Post by Desmanto » 22 Oct 2017 09:37

I forgot to report this bug before. AFAIR someone reported it at the beginning of 1.34.0 version. The Error is
Could not save file: /storage/sdcard1/flow_flowname_20171022_235959.xml:
open failed: EACCES (Permission denied)


I have granted the external SDaccess and try to uncheck, regrant it again. Have selected the proper path for the microsd, but still pop up with that error.
All file write operation to micro SD give the similar error. It seems Automagic can't get the proper access to the Storage Access Framework.

Android LP 5.1, rooted, xposed and Android LP 5.1 no root, stock ROM also give the same error.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Ext SD card permission intent save as file

Post by Martin » 23 Oct 2017 19:45

Hi,

Does your device really use /storage/sdcard1 as the regular path for the sdcard when granting the permission in the settings of Automagic? If I recall correctly, SAF uses paths like /storage/7A23-1814/ to get access to the external sd card.
Is the sdcard also available under such a name? Does granting the permission with this path work?

Regards,
Martin

User avatar
yogi108
Posts: 100
Joined: 09 Nov 2016 08:00
Contact:

Re: Ext SD card permission intent save as file

Post by yogi108 » 23 Oct 2017 20:37

Hi Martin,

See the screenshot, same path as in action export flows/widgets, action works, save as with using intent or alone is not working....
Attachments
Screenshot_20171023-2232.png
Screenshot_20171023-2232.png (53.79 KiB) Viewed 12490 times
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Ext SD card permission intent save as file

Post by Martin » 23 Oct 2017 20:54

Thanks for clarifying. The dialog does not yet support the SAF framework yet, I completely missed this one. Will be fixed in the next release.

Regards,
Martin

Post Reply