Google
  Web www.spinics.net

atime, ctime, mtime, what time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


What changes need to occur to affect each time on a file or directory?
So far I have:

Atime:
	read a file
	modify the permissions
	modify the ownership
	create new file

Ctime:
	modify the permissions
	modify the ownership
	modify the first level of contents of a directory
	create new file

Mtime:
	modify the contents of a file
	create new file

This is based of the googling and limited testing I have done.

Which begs a question, wiki, for what it's worth, states that if a
permission or ownership change is made that both the atime and ctime
will be modified.  http://en.wikipedia.org/wiki/Stat_(Unix)

How can a ctime be newer than an atime?

Thanks,
Travis


_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe

[Home]     [Red Hat Kickstart]     [Fedora Users]     [Red Hat General]     [Red Hat Watch List]     [Red Hat Development]     [Samba List]     [Kernel List]     [Kernel Newbies]     [Hot Springs]     [Yosemite News]

Powered by Linux