Am 28.09.2012 17:07, schrieb Chris Angelico: > On Fri, Sep 28, 2012 at 11:12 PM, 陈伟 <chenwei.addr...@gmail.com> wrote: >> >> -- >> http://mail.python.org/mailman/listinfo/python-list > > In future, can you put the body of your message into the body please? :) > > ctime is creation time, not change time. mtime is modification time, > as you have. But I can understand where the confusion comes from; > Google tells me there've been documentation bugs involving this very > thing (and Google, being extremely Lawful Neutral, would have happily > told you the same thing if you'd asked).
In the future please read the manual before replying! ;) You are wrong, ctime is *not* the creation time. It's the change time of the inode. It's updated whenever the inode is modified, e.g. metadata modifications like permission changes, link/unlink of hard links etc. Christian -- http://mail.python.org/mailman/listinfo/python-list