title: Version control system that preserves file properties
body: <p>Is there any version control system that could preserve file properties like permissions, owner, time stamp etc ?</p>
  
  <p>I need such a system in order to keep track of the content of a virtual machine root filesystem.</p>
  
  <p>UPDATE:
  After reading the code of etckeeper, I ended up implementing my own keeper in Python <a href="https://github.com/torshie/anykeeper" rel="nofollow">https://github.com/torshie/anykeeper</a> . Mainly because etckeeper doesn't keep track of device files and pipes, and also has performance problems when keeping a large directory.</p>