Jürgen Hötzel <[email protected]> writes:

> Hi Michael,

Hi Jürgen,

> Makes sense. I wasn't aware of possible side effects when implementing
> `tramp-adb-handle-directory-files-and-attributes' back in 2011. 

I've checked the code further. The cached value of
`tramp-adb-handle-directory-files-and-attributes' becomes invalid, when
one of the files in the directory changes its attributes. Consequently,
you must also flush the file properties of the directory, if you call
`tramp-adb-handle-set-file-modes' or `tramp-adb-handle-set-file-times'.

Ah, and for systematic reasons, the cache key in
`tramp-adb-handle-directory-files-and-attributes' shall be
"directory-files-and-attributes-%s-%s-%s-%s".

> Jürgen

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to