wesaynih / infrastructure

© 2016 The Knights Who Say NIH — Do NOT fork this repository without permission.
http://frameless.io/
Other
0 stars 1 forks source link

Check file permissions of every file and directory #26

Closed Robbert closed 8 years ago

Robbert commented 8 years ago

The other day I found out that nothing is more annoying than a chmod -R has affected your entire repository, and all files are marked as modified. Reverting this should have been as easy as calling chmod on all files with the default desired permissions. However, some of the files were checked in incorrect permissions initially, so then still hundreds of files had changed permissions.

This needs to prevented, so I want to introduce a step to the testing pipeline that makes sure the following is as expected: