GNU bug report logs - #64445
30.0.50; Android: Emacs cannot access /storage/emulated/0 although other apps can

Previous Next

Package: emacs;

Reported by: Milan Zamazal <pdm <at> zamazal.org>

Date: Mon, 3 Jul 2023 20:13:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #50 received at 64445 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Milan Zamazal <pdm <at> zamazal.org>
Cc: 64445 <at> debbugs.gnu.org
Subject: Re: bug#64445: 30.0.50; Android: Emacs cannot access
 /storage/emulated/0 although other apps can
Date: Sat, 19 Aug 2023 08:13:58 +0800
Milan Zamazal <pdm <at> zamazal.org> writes:

> Just in case someone else reads this: It’s actually
> android-request-directory-access.

Right, sorry.

> Hmm, not very nice.
>
> Another annoyance is the `primary:' component in the storage path as
> Android doesn't like colons in paths and e.g. symlinking such a
> directory doesn't work.  Is this name imposed by Android?

Yes, it is.  Symlinks to and from /content/storage are alas unsupported,
as that directory is provided by a system service written in Java, which
is not cognizant of symlinks.  (Google adamantly asserts this service is
the One True Way for Android programs to access external storage.)

> I haven't tested this, do you want me to test it?

Several others have already done so, so that isn't necessary.  But it's
the thought that counts.




This bug report was last modified 1 year and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.