-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fusebox: workaround Truncate as Remove + CopyFile
For example, from bash: echo example > /media/fuse/fusebox/mtp.123etc/foo.txt with one '>' (not two) will truncate the file to zero length (before writing the "example\n"). This currently fails because the MTP AsyncFileUtil implementation does not implement the Truncate method. BUG=b:255703917 TEST=manual Change-Id: I45155b6aca3f7c38baf2252fb693e4f3432d21cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4322918 Reviewed-by: Alexander Bolodurin <alexbn@chromium.org> Commit-Queue: Nigel Tao <nigeltao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1115566}
- Loading branch information
Nigel Tao
authored and
Chromium LUCI CQ
committed
Mar 10, 2023
1 parent
21c8760
commit e48a954
Showing
1 changed file
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters