diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-06-10 17:38:22 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-06-10 17:38:22 +0100 |
commit | ea3f441130ed3e8e5b494b08296f138cd9518ee3 (patch) | |
tree | 8a584c4dc540206c301917771cc5752eec150410 /LICENSE | |
parent | 6a10d87299b6575c8786775002858db6042a7572 (diff) | |
download | sos-ea3f441130ed3e8e5b494b08296f138cd9518ee3.tar.gz |
Set umask when creating final archive file
The temporary trees used by sos are set up with correct
permissions but tarfile.open() uses the default mode and umask
settings.
Set the umask to deny group and other permissions for the archive
to avoid leaking data to unprivileged users.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions