what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'.

Nobody nobody at nowhere.com
Fri Sep 28 13:22:11 EDT 2012


On Fri, 28 Sep 2012 06:12:35 -0700, 陈伟 wrote:

> what is the difference between st_ctime and st_mtime one is the time of
> last change and the other is the time of last modification, but i can
> not understand what is the difference between 'change' and 'modification'. 

st_mtime is updated when the file's contents change. st_ctime is updated
when the file's metadata (owner, group, permissions, link count, etc)
changes.




More information about the Python-list mailing list