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: Wed, 05 Jul 2023 15:59:14 +0800 Message-ID: <87lefuokkt.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> 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="5427"; 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 Wed Jul 05 10:00:46 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 1qGxRO-0001Cc-G4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jul 2023 10:00:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGxR6-0007Bw-Q2; Wed, 05 Jul 2023 04:00:28 -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 1qGxQg-00071s-Rb for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 04:00:03 -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 1qGxQg-0003vC-FU for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 04:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGxQg-0002zu-AK for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 04:00: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: Wed, 05 Jul 2023 08:00:02 +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.168854397311435 (code B ref 64445); Wed, 05 Jul 2023 08:00:02 +0000 Original-Received: (at 64445) by debbugs.gnu.org; 5 Jul 2023 07:59:33 +0000 Original-Received: from localhost ([127.0.0.1]:37044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGxQD-0002yM-1U for submit@debbugs.gnu.org; Wed, 05 Jul 2023 03:59:33 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:38305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGxQA-0002y6-5p for 64445@debbugs.gnu.org; Wed, 05 Jul 2023 03:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688543963; bh=C1Qr2tyTQD9YacxRfJ6l1meTMWYOAXomKC99GyATslo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=q/XfqVjJA955pHwJK2CIaKQXEY4wTasvkyymh1vTKcY3NBLRLr8ozwqnJZ/Ny+0UgL6FzCfuqTbFF7vlkqE2ib+8kNeqfwPzqCLkUuoRez82ojEDU2VKtNTDCBHLYjBVq2tMRUBc9hDiUouf9JH+xe9YbKomny0X5lEjPStzdvimevqN8gJNN5fdALbzWAeMpO9xKv7TKxpsZTJns1+TKP3qdZ2mrrDR9LW1EEDWo3F24t12i6RJa90HSwCxOk5lGxJVUBnIdOWWG/htB7HL6YxXEwOgbFr/B/8p88BErT8yu40T/caZgQoS8qUvlBQ1vqNeZNnGiQG38ivYHhRA4A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688543963; bh=9C6Pf0ckENzeSXKpYNnUrCgz707hEhii+1bn0mgGE25=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=eX4yGjzd/CF6eCm7Qrdb8t6vPTi77o4xUi+S9uAgU2iHuiqy0QqSNryK5omZ3sL/iRT091zzy0J9DV7jNvCHpUPUJIqog57PJbetLfleue5/AerxrP2NQ7QzxMkBf4XEwkKqrIy8N6Us8A7lUDXRo+4oJezCX7V6BwkG3rys+LOGBPHLzWOgApWvFgHJ8oO81kRQkd171qVuiH3vzmS+/8hAqAFl+cspsgMzn5egGjRqmOZ9mGWQV2sEoSPXpsektbqmFCrtXl41xdOKV53fbGATLjQ7nPf2by8ymq8QIFNOAKgfRb01L3FAtEvgFidCfuCQpLiSmTPM5Dcx1iphDA== X-YMail-OSG: 8nTJFecVM1mj_Y.3ybDVL5grc3HpS34RGYA35MiSNH0cfuxvjdRUqrMfiwXHVBr nTPJfgWlUA_A7ncY81ZRyl0n.omid8q.O7_bUouJUPy9Bf3WbYHBuTNzPGi0MbgZji6Ec.lHsId. dqzn_JRDcedoXLIJ_jvJu3aNRRFl5R_CfS_eFa5j9JvXoftCewPxuARZqRkIuATWV3T_cbanpe_J blBYtJpdRakxaNZ93CNo8pn4465L9rI8mg_cgsEM9BFw40oXV88ZwRnO279etW2eFt4eq0tsR_Wt TE6QMdVJoQu.JtMv__XnjU3Q4uCH0EF0Ne2HbOlBZvaYe2TTspp.vyBc_b0uGztz8OSFrrMgXZF9 xCfGObofNAglTmIVb0RReze8.gjeD_dL8npOHl6XP41oddz1kgJqw9biPiCCko0o5D0RXT7PeKd3 eCbeH1vRArlTSH4ujktTfCoO4LQPqa0.Ijsgla_sFxqYfRy1evhfqZ9Rtt3q_ZJVvhV3bogR_FQV PMwH__165efKKHQ_.CPEV3hEEYVOMIXzbNb5ahM2FTu9Fl4odU91QaRGFpTA2IG_7Lud5RpoGH41 Jl6j63orm8iiyi55WyQ1Y8KXC1nshcBkNMjwJwM6vfRJFV9o2XiAyQV.5H5t7_32duh5iY2GzhaG HQ9UCq1nI2pu8pzrK48sKKZnCWgXbzNnXTldhuPGjo4Y5Jg2T0QmH8hEIE9nNKMQfiTaM9GhDu19 kZrGVhCY8Zpd2lxRmbdkhjcnomxkfS_a0tzz6EI66lwB2FzFODB7saGNNeDzHu6Nuh92pM1LyLg9 bB13XgAYi.GeVfnYYABzXCz3wtk2vyTVWP0MbBiZVo X-Sonic-MF: X-Sonic-ID: c1fa8bd2-e40f-4850-9741-a21e6fa3d2cd Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 5 Jul 2023 07:59:23 +0000 Original-Received: by hermes--production-sg3-67fd64777-kvs8m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 20ad3995bd0e54f92578ac87aed43617; Wed, 05 Jul 2023 07:59:18 +0000 (UTC) In-Reply-To: <87pm56g5zl.fsf@zamazal.org> (Milan Zamazal's message of "Wed, 05 Jul 2023 09:41:34 +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:264620 Archived-At: Milan Zamazal writes: > W org.gnu.emacs: type=1400 audit(0.0:910): avc: denied { read } for > comm=456D616373206D61696E2074687265 name="/" dev="dm-0" ino=2 > scontext=u:r:untrusted_app:s0:c157,c256,c512,c768 > tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Right... how exactly are you trying to access /sdcard? Through Dired? If so, my guess is that ls-lisp is trying to stat the root file system, which is forbidden by some versions of Android. Would you please enable debug-on-error (Options -> Enter Debugger on Error) and display the backtrace from whatever file access operation complains? Thanks.