Change times
f = "log.messages" # Filename atime = mtime = Time.now # New access and modify times File.utime(atime, mtime, f) # Change times