積丹尼 Dan Jacobson <[email protected]> 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. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
