DescriptionTelemetry: Write chrome command line file as root if it doesn't exist.
On Android, Telemetry sets the chrome command line file before running any pages.
If the file doesn't already exist, it tries to write it as a normal user, rather
than root, which fails. This patch explicitly checks if the file exists. If it
doesn't exist it writes the file as root.
BUG=284468
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221426
Patch Set 1 #
Total comments: 2
Patch Set 2 : Recursively check for file permissions. #Messages
Total messages: 11 (0 generated)
|