commit | 0919e1bc0073a73bea32a448b1f6159e457071f2 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Tue Feb 27 19:37:41 2024 -0800 |
committer | Peter Collingbourne <pcc@google.com> | Fri Mar 29 15:13:13 2024 -0700 |
tree | a0b073417d3bf41e4219f4a6555a8180f5d514db | |
parent | d49456a11f2efc50d5496eab25548825489b9ac6 [diff] |
adb: Do not use fs_config unless we are root (try 2). This enables fs_config for /data when pushing files as root. Also, without this, adb push to /tmp fails as the shell user. When pushing to a directory that does not have an explicit fs_config, such as /data/local/tmp or /tmp, use the original file mode. Bug: 171233429 Bug: 311263616 Change-Id: Ied805bc3912ea0b4e1691127b5032aef632f85fd