-
Hello, is chmod and chown applied to a file before moving from temporary location to final destination or after? And if after, shouldn't it be before to get atomicity? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
WayneD
Feb 11, 2022
Replies: 1 comment
-
The temporary file is finalized before moving it into place. It is also chowned prior to the changing of the mode from its more restricted temp-file mode to the final mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WayneD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The temporary file is finalized before moving it into place. It is also chowned prior to the changing of the mode from its more restricted temp-file mode to the final mode.