diff options
| author | ebiggers <ebiggers@google.com> | 2019-10-23 22:18:45 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey@google.com> | 2019-10-23 22:18:45 -0700 |
| commit | a5b805f03d5add8a1750f564bebf9f6eac035ec1 (patch) | |
| tree | 45780fcfdb3a1dbff47fd0f648bc2f8277aaf306 /vendor/github.com/urfave/cli/command.go | |
| parent | f819c93ef40851ddad0470a711c673c643e73ca6 (diff) | |
actions/config: ensure config file is created with mode 0644 (#152)
If the user has set a restrictive umask, e.g. 0077, then
/etc/fscrypt.conf would be created without the world-readable bit set.
Fix it by overriding the umask when creating the file.
Resolves https://github.com/google/fscrypt/issues/151
Diffstat (limited to 'vendor/github.com/urfave/cli/command.go')
0 files changed, 0 insertions, 0 deletions