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: Tue, 04 Jul 2023 08:49:31 +0800 Message-ID: <87a5wcsdpg.fsf@yahoo.com> References: <87zg4c92l4.fsf@zamazal.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20577"; 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 Tue Jul 04 02:50:18 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 1qGUFG-0005BB-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jul 2023 02:50:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGUF3-00036t-3D; Mon, 03 Jul 2023 20:50:05 -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 1qGUF0-000337-Tr for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 20:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGUF0-0003g6-K5 for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 20:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGUEz-0003Id-WD for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2023 20:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jul 2023 00:50: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.168843179412660 (code B ref 64445); Tue, 04 Jul 2023 00:50:01 +0000 Original-Received: (at 64445) by debbugs.gnu.org; 4 Jul 2023 00:49:54 +0000 Original-Received: from localhost ([127.0.0.1]:34716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGUEr-0003I8-E8 for submit@debbugs.gnu.org; Mon, 03 Jul 2023 20:49:53 -0400 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:46358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGUEo-0003Hs-87 for 64445@debbugs.gnu.org; Mon, 03 Jul 2023 20:49:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688431782; bh=5i5DGh+LClV9N7KWitDP3krCfdwb77TVGNJ5eY/8Wbc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=UtKJ2bJYo1tvpDIdoKTokBsn0CdvUxdwGtzp6/ycFg60Dgki59qNXR8mxIw2FH2kMwE9eYMIW8BXP432/MXxhMQnzVqHvtOaqAxqhkJzr65GQvIceHp46n96wOcWezLug5wjqgddaIhQ8EKT7Tn9BnJFITSovUhBZiLc1BnI8gspn3FIwETlPEq5iNqlaVnnxBWD3oAHFP1VWcuqLdq6J3hQvJS6FLZgAqka4VPgH7HwUBT6uCW6+TrDcoPtndP5T6v1rAb7tPGb/VuPfY+CE3i9yyTHeBzoPZR/eRKRkMcwVo2v56Dz2hBc4sVcMS1BEoreufunsPozTr5t+VK/CA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688431782; bh=ak5V4tJTUFLwycTqR3C/n6bLXvpvRMqk6VgiYddJLut=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=UR6cUmrQcCkBSrwCQU/8I0UE8uaSqcPQOmQm/Dcpt/A1Ns8Al0bH6+E+W6nbTZexya4N2ZhZ/31jIntFcLNzeKSQhOkA6kSpLSPea5/OqK/uRUcYDnCpx8g5GYu2LutoOaEHnUBObWJLVx8RY3Dk2jNucKAJ+RfxqESKrdB2iaKLGcGqPOcxsMoxOCW1DnEetls/dpTu1nPXLtQ4EEz8PrpFkQtZDGyNJJZewet4k1U5MS+WRFAXJTKCy8h3K3aMieVcbowm/ub4LkbyyjLMSPn369EvOhvMsAOREwLOlbjB92gshM71RmnTXU0iuMYyfgup7Qd5LpGkfClywBE81A== X-YMail-OSG: OtTQgkoVM1krWC3rQYqZRSL40hMKCbdEhSAFfuN6PxllWLX.6ok5K7dY4O9TmR5 IzyQkr5tCDto3vQLEu4p._c0PEY.tTje8RKxtYqYfsDGYb.RxEd6kHs6DA9etuXCJXib6qU7o7s0 Y6H1opZNmlC9J1lvexus3nIZklk276pPNBhcdc7dUMacDWfh3wIEA7P6NNZs8ti.b_1_sta8ayLD aEGK7vAaRZlReM7OY8ikboF60h86Pc9KbBDqWz7LbAiqw1Af0hO56IuG53guesW85Ihkj5VDF9_7 QbkBF3IlSLPn.kVo5ZiP7T3ptgSIbI4sJZoskWiYbNJFhNrvxeJV7P8llEF3yZDJPX1fbk3QeaXu lOsJdND3UMCNNL2pfE7HjrFUyZKOsouZwbV60ROJhf9qj8XCtGN8pU5Ytit8novDeeIbOpeycIqj yNVgYjanp2_ZKNr46yk.0oy6Bf6MQq7SzQ8qsJiccwKLBcTGfghHNHFHaLsX073A9rZCDhYA7tcs IN9aulCDuiVQuBxVZI34dD0UEMwh14z0e3YLbMYOG1pxtR3zSRvO_u.y.PB0LjqIYvSPGTUTkJTp 4t3.Rd37T1he_mWSHjrb89pPBv_oLpok2U4PZXh4H2FxbeURcO0fewyE5LYJ4cRr7p2xSdAjboFa D4hE2lkYKoy2iIADF4O7iL0YpI3B1eJIhVZst0oHFNCbqm8FzdonYGNn_izNw14ol.hkDbpb0G1x e5bwdRyw0MZq_sjm8t2KGuOzi.PMHBWygSz5FVvutVqHLkoNhTdT74jBwjRXHawy0Pk3bRz1xBvs ciRt2OoiJesb5sxwXTrZ0ct5.eF7n23wiauIQlyVgF X-Sonic-MF: X-Sonic-ID: a4749fb8-8ac5-4415-8fd5-80ff827db6f0 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 4 Jul 2023 00:49:42 +0000 Original-Received: by hermes--production-sg3-67fd64777-9kgfz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f29982b4a88022b4d5ed098b46584d96; Tue, 04 Jul 2023 00:49:35 +0000 (UTC) In-Reply-To: <87zg4c92l4.fsf@zamazal.org> (Milan Zamazal's message of "Mon, 03 Jul 2023 22:12:23 +0200") X-Mailer: WebService/1.1.21612 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:264556 Archived-At: Milan Zamazal writes: > On my Onyx e-ink reader, running probably some version of Android 10, I > cannot access the external directory (either /sdcard or > /storage/emulated/0) due to =E2=80=9CPermission denied=E2=80=9D. I under= stand the > Android system may not be cooperating, but e.g. Termux running on the > same device can access /storage/emulated/0, after running > termux-setup-storage, happily. Both Emacs and Termux have the same > =E2=80=9CStorage=E2=80=9D permission as reported by the system. > > The Emacs version is 2023-07-03 from SourceForge. As described by the Emacs manual, you should allow Emacs ``all files access''. This option is usually found in a section titled special app access in Settings. > Sorry for not providing the automatically gathered information but due > to the permission problem above and the fact that the Emacs directory > seems to be completely invisible, even when the device is connected via > USB (all the other apps are present in /Android/data, but Emacs is not > there and I couldn=E2=80=99t find it also anywhere else), I don=E2=80=99t= know how to > share anything from the Emacs on the device with the outer world. Emacs's home directory is its ``internal app storage'' directory. Android is distributed with a file manager that should be able to display this directory in its hamburger icon menu.