From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64445: 30.0.50; Android: Emacs cannot access /storage/emulated/0 although other apps can Date: Fri, 18 Aug 2023 12:13:11 +0800 Message-ID: <878ra9gf8o.fsf@yahoo.com> References: <87zg4c92l4.fsf@zamazal.org> <87a5wcsdpg.fsf@yahoo.com> <871qhohziz.fsf@zamazal.org> <87lefwqdsy.fsf@yahoo.com> <87ttukgiwh.fsf@zamazal.org> <871qhnp4sd.fsf@yahoo.com> <87pm56g5zl.fsf@zamazal.org> <87lefuokkt.fsf@yahoo.com> <87h6qig0ag.fsf@zamazal.org> <878rbuo8fq.fsf@yahoo.com> <877crefpm2.fsf@zamazal.org> <87pm55nayf.fsf@yahoo.com> <87ttuhbioq.fsf@zamazal.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13286"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64445@debbugs.gnu.org To: Milan Zamazal Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 06:14:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWqsM-0003IV-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 06:14:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWqs7-00086n-A9; Fri, 18 Aug 2023 00:14:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWqs6-00086W-Bj for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 00:14:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWqs6-0000Pq-09 for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 00:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWqs5-0002Jo-Ry for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 00:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 04:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64445 X-GNU-PR-Package: emacs Original-Received: via spool by 64445-submit@debbugs.gnu.org id=B64445.16923320138849 (code B ref 64445); Fri, 18 Aug 2023 04:14:01 +0000 Original-Received: (at 64445) by debbugs.gnu.org; 18 Aug 2023 04:13:33 +0000 Original-Received: from localhost ([127.0.0.1]:45848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWqrc-0002If-So for submit@debbugs.gnu.org; Fri, 18 Aug 2023 00:13:33 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:40973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWqrZ-0002IL-Ck for 64445@debbugs.gnu.org; Fri, 18 Aug 2023 00:13:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692332002; bh=E4oZq8iCI6UsJf+reH9Azq6gvE1pdV0SEEKEp/kWAOo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=o8I78z+j33PVzf+JV8bvbeNMoGt+Rc2BZ3Hgprg0LzzO1mH8kk5iyum6rIJzQKcsxiz8tfmhIQbB2Fmk+M4kImgVwr9CMQmVh6ZSL92NyNWC0VYIuP3vbD4dlhsHImMH1auJFsvqK2QTe2pt5/+MSZGpe4523XkUR1gk3nil2PqA+Egn41HnFUTk+kS6PiMOAUOk20Lf1zZs8eeg7xVJriP+95PUXIxhXoV9iIrfqw0+Bua8G4YMylV9Jr1uL09TkXYV7mS3umYYBBir2BumhVV+pxy6MW+xJnQ9CbdDl7Yoh6KDlrh3xDHsayE3hubRLRTax8BxUKJbv1P+FKyRnA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692332002; bh=wxk5l1sRTjRHA8+VrLdrn8ix1BPcmXOcfLIcag/CS4D=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QqtROCM3AEJiC3rNCQgVcJJTm/7SAqlOcUnK4a6JdVKTnaXuYn66Mheqbrdkbpi916vzo6L04Mv+8VpUDMQ2nW4SkQjLYtCKyG99laVr5WcYlOYaALFXpxl/kMkyfrajkEmXaBcG2uwvQ34WTcpbqDBCvN/97HmOMPLwvbJahwrV6OtuTJ99lQeayu1yhm3ER6qv6Yjryp32OAGG3SXtMZkdwu9S0mAoPkyii8mn8CqqSf3u8zIVXnOR9WXyFhThxE/7gzyrsjFGPNhQmyHl2+CaEZGUaN2qT8iAQbjWkskptLFs1GBnzRGbB2JdnceBS2vr40jXTEQMPhoYr097CQ== X-YMail-OSG: RhjUuAcVM1nX8URpKZnrB4r3.KZx3TLcccwktzD2MNWLavoNBmpL8E.lHlmP5P5 WgvkL6YA.shCCuG.Y91lOHlZGHUbC1z19gD414FIyLLlTmoJ.VGM.ETKNexETzogudPOMqA.umDe TAO8ESudPH4oTl1EZUYvLWiSoLfktRr9_VdwuvXRctmlBQvG1hilH7p7tiQmljaml94mRed4KQih sgGmtBk6MsvakDKMvVdewi.JYNl_s0bH2NHJ9DADHsCBAbjmxR7.6QDoSO8XzO1r3vjVccPc3yic M16A935hKIdgjfu6F3WaV8rzzWZqTgE5cHqMTIFgdW0M6IjcqS7krScmdoTFtNm2.XlEymbu.Feb dfdxUGLDKaF.aHEFvTxFiPqawNd1hFlmK0D99UiWvLocbGHN.XQ5osN1gPbGaYLXBsdEfHaWkqsG eDwPNIEO2ZCmPtAJMMurQcEp9oxuHg_pgrlwpVZPB7qBMGPiycoO_Jh73WIckI170R46ucZvKStc WyhhCoaPUdgyX6YbbIjtf0pdHSB25vEvLzSv57Yy7pxxMLnLl7Bfxi4LlArQs2EBuTjbX7EGL2K8 bODj1mEDubJ87d1jZBtIaMQGcPAkYyiplYkREodqcy_daJtw_j1B7U1xLY071a5MckgJFambWBNv JTcZP3iAU.Qnb.Ut_MDyxFmnFSlprQyA5.Ju88QFsop5.zosRH0i2vdfqoHq98dvNrBlvvaVPfNn GL7UvgqdzKHyu2zCfiNz14lxJjvT.N6pxd0Vlwc8DJwMk_mompeofxxQN6GMd.IGohKN2PWXLWzG ONH0tDG4R5TYTdUoYEXbVaxLkkZ_3KKeptUz3YuNX3 X-Sonic-MF: X-Sonic-ID: f15c2a4d-8356-4a0c-816a-fe2fede4ff2d Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Fri, 18 Aug 2023 04:13:22 +0000 Original-Received: by hermes--production-sg3-69654d8bd-52vxq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7a2bedb16d4ad560d00546eec8a2bf53; Fri, 18 Aug 2023 04:13:15 +0000 (UTC) In-Reply-To: <87ttuhbioq.fsf@zamazal.org> (Milan Zamazal's message of "Thu, 06 Jul 2023 09:30:45 +0200") X-Mailer: WebService/1.1.21732 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267708 Archived-At: While I never did manage to locate the cause of this bug, two new workarounds for it are now possible. The first is to type: M-x android-request-storage-access and select the ``internal storage'' directory from the file manager dialog displayed. It will then appear under: /content/storage/com.android.externalstorage* Mind that this form of file access is somewhat slow due to inept programming by the Android developers: https://issuetracker.google.com/u/1/issues/293494717 which they have dismissed, since they are evidently incapable of attaining even the most elementary levels of reading comprehension, and consequent of being implemented in Java, files within /content/storage will be inaccessible to subprocesses. The second is to install Termux-enabled builds (see the README in the Sourceforge repository for further details), in which case any permissions you grant Termux will also be extended to cover Emacs.