]> git.wh0rd.org - fontconfig.git/commit - src/fccache.c
Explicitly chmod() directories (bug #18934)
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 28 Dec 2008 21:54:44 +0000 (16:54 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 14 Feb 2009 00:54:03 +0000 (16:54 -0800)
commit8ae1e3d5dc323542e7def06a42deea62c7ba7027
treeb8a7d0def1197b42e006db1892750f29a0452b20
parentb6cf885a0a71a0e8f03832fe038e57e6f2778974
Explicitly chmod() directories (bug #18934)

Two changes:

  - after mkdir(), we immediately chmod(), such that we are not affected
    by stupid umask's.

  - if a directory we want to use is not writable but exists, we try a
    chmod on it.  This is to recover from stupid umask's having affected
    us with older versions.
src/fccache.c