From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Can't open some directories in dired via adb Date: Wed, 17 Jan 2018 15:13:08 +0100 Message-ID: <878tcw7evf.fsf@gmx.de> References: <87shb59hoe.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1516198349 2709 195.159.176.226 (17 Jan 2018 14:12:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2018 14:12:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Akater Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 17 15:12:25 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eboRj-0007uF-DL for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2018 15:12:07 +0100 Original-Received: from localhost ([::1]:38818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eboTj-0001Y6-Ad for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2018 09:14:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eboSr-0001Ux-9C for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 09:13:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eboSm-00077I-7S for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 09:13:17 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:58979) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eboSl-00076g-Tm for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 09:13:12 -0500 Original-Received: from detlef.gmx.de ([212.86.42.191]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MAyZg-1ejYDh1d2K-009uAD; Wed, 17 Jan 2018 15:13:09 +0100 In-Reply-To: <87shb59hoe.fsf@gmail.com> (Akater's message of "Wed, 17 Jan 2018 05:29:37 +0000") X-Provags-ID: V03:K0:4+UbaJ57EuGCRxyO7oWQ8shwss9tKD6AwctVJg72jhyFjhK/jXY j6FsCPoHZOae42ZGC1A3aNo89fHjwTq4wsbEHpk7miqTSDwtVuYWRp6GR95b3ebv2bOfYk+ OExorHmpxO1UP5S00RrBia+HqUXKaN9Au1adjKUms4SefgEgT0zfTBGTnGJq6jeVB8X1qKU 96SMUPLWCVTMRVrTuee7A== X-UI-Out-Filterresults: notjunk:1;V01:K0:b4A8fLP+F+8=:RyhZDB6zb3wt6cySswNhJU OlafiiVf+rWVylCKEteq7BLCWLCbglCS2MlI1/AWLWnRnDA2NjDdmjsZCPaXmMahfs4RgoGSu Uj6ry4x3jj561g5UT0X37htry8bA7Zj8mM63bDi5rlJI2O//7qmJF7HQwCZnCutD5/4V/ETDF 4fIFvzr+Q0zXDXlBwy0OrwXpwSewFIUNyGO3OEm84idcZG8Q7INEVrQDDYi4Mew12BaCInNIE eVkKwmKaM0SOGLxDcfa2hCj2cnFKjQSoMNxjtQAwFbSNh2ilyMUfXxQYbIw1TtpGsmAdFSGL4 nWY6c7MxVolgRBgU+cw1szL7WbJLjSwm95+9zENfpogq6Yx7Yz/QrzrQRJ2vKONDtOV8xuMs/ HFKsRyd61nTQjUL944KKCPJpHxQ2ySoBgSYaxuL2tUylElEgBT0aYy1iM4iO+BnxpPDi7u9Bo nsmo4gHrkrXnC6mRb7w+Sbb2FNxw0tzS4RJ9mUgXbVvtec3RNH1rYCVkporTTIzIdxPP68Fr3 I3fDK9LXmtIC0qZda1CTH4WStfvscD4OjUVq1RLF5C6Qmt/0YJmEoaJ98+hqQqStqIvasbhoi aB8CBgb/VhBhicGWAuDDgf7V3ZbOTYTxXkRd6o9orTJ7Ck9T6T2XcS7yTrohTKVNl83/2mBPj K917rpc6NkQdrC46Fqo+RuvUmwQIZbiXcF6XqDYby0VrTOskIASZgiaX9P6OPHp6ZHBUpnbGf uNvwTCWlyltnsjuS3X77vbK3hUyzJxmdPkVSJqbKUyK3Ylgd/HHZiKgCIRuAXoH8NwWZ0yIA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115758 Archived-At: Akater writes: Hi, > I can't open some directories in dired via adb. > > Dired buffer displays a branch of directory tree on the device. Some > directories in it won't open with RET or with C-x C-f dir C-j. However, > files in them are accessible with C-x C-f, and ido does show > subdirectory listing. > > Device: OnePlus One > Android version: 6.0.1 > OS: CyanogenMod 13 > Kernel: 3.4.112-cyanogenmod > > ls provided by BusyBox, as far as I can see. > > Opening directory /adb:e476ba43:/storage/emulated/0/Texts/mathematics/...= failed > tramp-file-name-handler: Couldn=E2=80=99t find exit status of =E2=80=98en= v COLUMNS=3D1 ls -a -l /storage/emulated/0/Texts/mathematics/=E2=80=99 > > Some directories in Texts/ do open, some don't. It's not clear what > determines this. However, two directories I can't open contain files > that are accessed more often than files in their counterpart > directories. I suppose this is due to restricted directory permissions in Android / CyanogenMod. You could check yourself, running "adb shell" from a shell outside Emacs, and navigate there. It might be helpful to see the result of the command "ls -a -l /storage/emulated/0/Texts/mathematics". Btw, which Emacs / Tramp versions are you running? I remember there were problems with the Tramp adb method and newer Android verions (say, 6+). This was fixed in Emacs 26 / Tramp 2.3. Best regards, Michael.