mirror of
https://github.com/troglobit/libite.git
synced 2026-10-02 05:42:49 +07:00
mkpath(dir, 0755) with umask 0027 silently creates a 0750 directory, since mkdir(2) applies the umask to the requested mode. Callers pass an explicit mode and expect exactly that. Apply the mode with chmod() after each successful mkdir(). Signed-off-by: Joachim Wiberg <troglobit@gmail.com>