News for hackers. Stuff that matters.
Re:Devops/Sysadmin Cheatsheet by gwillen on Saturday January 12, 2013 @04:18AM (#5047153)
ctime is also useful because it's harder to forge. You can normally set the mtime on your files to whatever you want, but forging the ctime normally requires either directly modifying the filesystem structures on disk, or changing the system clock.
Re:Devops/Sysadmin Cheatsheet by xiaomai on Saturday January 12, 2013 @01:00PM (#5048357)
ctime is trivial to manipulate. For instance, 'touch -t 1111111111 foo'
Re:Devops/Sysadmin Cheatsheet by gwillen on Tuesday January 15, 2013 @01:16PM (#5061758)
You are wrong; -t does not change the ctime. It changes the atime and mtime. You cannot change the ctime using touch.