Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!sei!sei.cmu.edu!pdb From: pdb@sei.cmu.edu (Patrick Barron) Newsgroups: comp.unix.questions Subject: Re: file times Message-ID: <1037@aw.sei.cmu.edu> Date: Mon, 20-Apr-87 02:23:21 EST Article-I.D.: aw.1037 Posted: Mon Apr 20 02:23:21 1987 Date-Received: Mon, 20-Apr-87 23:42:18 EST References: <12854@watnot.UUCP> <6362@mimsy.UUCP> <12905@watmath.UUCP> Sender: netnews@sei.cmu.edu Reply-To: pdb@sei.cmu.edu.UUCP (Pat Barron) Distribution: na Organization: Carnegie-Mellon University, SEI, Pgh, Pa Lines: 10 In article <12905@watmath.UUCP> djfiander@watmath.UUCP (David Fiander) writes: >In that case, what is the difference between ctime and mtime? According to > mtime is last modification time and ctime is last inode change >time. When would one change, and not the other? Changes to the contents of a file will update both ctime and mtime. If you do something that only changes the file's inode (like changing the permissions of a file), then only ctime is updated. --Pat.