]> git.eshelyaron.com Git - emacs.git/commit
Don't report files from read-only adb partitions as writable
authorPo Lu <luangruo@yahoo.com>
Wed, 6 Mar 2024 02:48:28 +0000 (10:48 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 6 Mar 2024 11:36:50 +0000 (12:36 +0100)
commit33dc006dc71e525494fb6959304362c69659ae2c
tree341b8ecbd69591e52e8d25dc2bd61802533792e1
parentf196a7772f114f3d1060923ac311dabeb2140310
Don't report files from read-only adb partitions as writable

* lisp/net/tramp-adb.el (tramp-adb-handle-file-writable-p):
Ignore the file-attributes cache, since file mode is not a
reliable indicator of writability.

(cherry picked from commit 1a5850a3af0693f022bb0a62e36bb84f762287c7)
lisp/net/tramp-adb.el