commit | dcff610995f7d100b5b2729959bd47e58f2a4862 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu May 27 01:29:22 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Thu May 27 01:35:12 2021 +0800 |
tree | 90b9e13bb8cc2c3fb541d5c0b667e6cc8a6b57de | |
parent | fe3673ebc6f92e21096535720960c16a084d3755 [diff] |
profcollectd: fix setting ACL bits Unlike C++17 filesystem library, Rust OpenOptions.mode masks the given ACL bits with environment umask. This behaviour is unintended. Since the Rust API doesn't not provide a way to set ACL without umask during file creation, change the permission after the fact. Test: manual Bug: 189325542 Change-Id: I285c36d93d69e8304177d54dc48429f924020f8a