Skip to contentSkip to conversation

ext[23]_rename do not update [cm]time of target directory

DISCUSSION Andreas Schwab 1 participant 1 message Jul 24, 2004

lore
Share & tools
lore
#0 lore raw

POSIX says in
<http://www.opengroup.org/onlinepubs/009695399/functions/rename.html>:

Upon successful completion, rename() shall mark for update the st_ctime and st_mtime fields of the parent directory of each file.

ext[23]_rename fail to update st_[cm]time of the target directory if the target file already existed.

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."