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.
Showing with 11 additions and 3 deletions