The 'backupcopy' auto probe compares the probe file mode to the original
without trying to set the mode. With umask 0077, open(..., 0644) creates
0600, the check fails, and Vim overwrites the original inode.
This tries fchmod() (or mch_setperm()) after fchown().
A test in test_writefile.vim asserts the inode changes and mode stays 0644.
Related: https://redhat.atlassian.net/browse/RHEL-122841
https://github.com/vim/vim/pull/21137
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks, applied. There is now a single blank line between the tests and before the modeline.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()