I am taking over a project where nothing was put under version control. It is an appliance around nagios : there are many system files like nagios or firewall configuration files, some other are scripts or more simply some are symbolic links. To summarize, there are many files with different ownership and permission in several system directories (/etc, /var, /usr ...). I want to put under version control all files that was modified or created for the project, not the operating system itself nor required packages.
git and svn does not save ownership and permission, I do not want to manually build a deployment script neither as there are so many files/owner/permission to manage.
So, how can I put such files directly under version control ?