Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
os: Mkdir and OpenFile permission inconsistency on BSD when using sticky bit #23120
From review of the code, I found an issue with Mkdir and OpenFile on the BSD platforms. Both functions contain an exception on these platforms when the sticky bit is set in the permissions passed:
Normally, the permissions of the created file or directory are influenced using the umask.