tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot make local copy of file ‘/adb::/...


From: Michael Albinus
Subject: Re: Cannot make local copy of file ‘/adb::/...
Date: Sun, 16 Jun 2019 21:25:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

> A first attempt to read this file gives
>
> Tramp: Inserting ‘/adb::/factory/CUSTOMER’...
> Tramp: Fetching /adb::/factory/CUSTOMER to tmp file /tmp/tramp.GePeQl...failed
> Tramp: Inserting ‘/adb::/factory/CUSTOMER’...failed
> Cannot make local copy of file ‘/adb::/factory/CUSTOMER’

Could you pls set tramp-verbose to 6, cleanup all connections, and rerun
the test? Pls show the Tramp debug buffer then.

> A second attempt just loads a blank file.

This is as expected, because the buffer CUSTOMER exist already after the
first attempt. It doesn't load a blank file, but it shows the empty buffer.

> But we see the file should be readable.
>
> $ adb shell ls -dl /factory/
> drwxrwxrwx 3 shell shell 4096 1970-01-01 23:25 /factory/
> $ adb shell ls -l /factory/CUSTOMER
> -rw-rw-rw- 1 shell shell 4 1970-01-01 23:24 /factory/CUSTOMER
> $ adb shell cat /factory/CUSTOMER
> ASUS

I cannot reproduce this, because on my Galaxy S6 the directory /factory/
is protected:

$ adb shell ls -dl /factory/
drwxrwx--x 136 system system 8192 2019-06-16 04:36 /factory/
$ adb shell ls -l /factory/
ls: /factory/: Permission denied

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]