mirror of
https://github.com/troglobit/libite.git
synced 2026-11-17 19:30:17 +00: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>