Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GoDoc for ioutils on atomic writers #47664

Merged
merged 1 commit into from May 3, 2024

Conversation

crazybolillo
Copy link
Contributor

Unlike its stdlib counterparts, AtomicFileWriter does not take into consideration umask due to its use of chmod. Failure to recognize this may cause subtle problems like the one described in #47498.

Therefore the documentation has been updated to let users know that umask is not taken into consideration when using AtomicFileWriter.

Closes #47516.

Unlike its stdlib counterparts, AtomicFileWriter does not take into
consideration umask due to its use of chmod. Failure to recognize this
may cause subtle problems like the one described in moby#47498.

Therefore the documentation has been updated to let users know that
umask is not taken into consideration when using AtomicFileWriter.

Closes moby#47516.

Signed-off-by: Antonio Aguilar <antonio@zoftko.com>
@cpuguy83 cpuguy83 merged commit ac71ac1 into moby:master May 3, 2024
125 of 126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update GoDoc for ioutils (AtomicWriteFile) to document expected behavior
3 participants