]> git.ipfire.org Git - thirdparty/ccache.git/commit
Set correct permission for stats, manifest and ccache.conf files
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 10 Dec 2014 17:40:38 +0000 (18:40 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 10 Dec 2014 17:40:38 +0000 (18:40 +0100)
commit5c5ead0337f0d90be8fe58b09a63ef6527fd316c
tree65c914c30af5f7e5da53958e96a600707e72e2d4
parentf599c01b5dbd50d07cd02e0b66601fe6009f3745
Set correct permission for stats, manifest and ccache.conf files

This fixes a regression in a07f46a3b0f7e452d50690b831bb4c99fbc6650f and
fc61ca9a9232f26ee3f714d4b8738d916f6948ff where mkstemp was introduced for
creating temporary files. However, mkstemp creates files with 0600
permissions, which is bad for temporary files that are renamed to a
persistent name in the cache.
util.c