diff options
| author | Trevor Merrifield <trevorm42@gmail.com> | 2017-09-11 20:02:44 -0400 |
|---|---|---|
| committer | Trevor Merrifield <trevorm42@gmail.com> | 2017-09-15 22:42:34 -0400 |
| commit | e3910794961b820defedd909b11e69681803e0db (patch) | |
| tree | 2fee8090d462e10f638905874074a730fb053e7e /src/rustllvm/RustWrapper.cpp | |
| parent | fd4bef54abafe6d93ec3c87498de696da6ef5819 (diff) | |
| download | rust-e3910794961b820defedd909b11e69681803e0db.tar.gz rust-e3910794961b820defedd909b11e69681803e0db.zip | |
Retain suid/sgid/sticky bits in Metadata.permissions
Most users would expect set_permissions(Metadata.permissions()) to be non-destructive. While we can't guarantee this, we can at least pass the needed info to chmod. Also update the PermissionsExt documentation to disambiguate what it contains, and to refer to the underlying value as `st_mode` rather than its type `mode_t`. Closes #44147
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
