[Bug 118249] [ufs] mv(1): moving a directory changes its mtime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jan 2026 09:43:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=118249
Aadya Chinubhai <aadyachinubhai@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aadyachinubhai@gmail.com
--- Comment #5 from Aadya Chinubhai <aadyachinubhai@gmail.com> ---
Created attachment 267313
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267313&action=edit
Fixes incorrect timestamp updates in ufs_rename
This patch prevents mtime updates during directory moves and prevents ctime
updates on failed/rolled-back renames by utilizing IN_MODIFIED for lazy
updates. It also ensures strict POSIX compliance for successful file renames.
Verified with regression tests covering all three scenarios.
--
You are receiving this mail because:
You are the assignee for the bug.