Revert "update file modes"

This reverts commit 21c0aa48ae7f1384d96704e081ede11d03b6dfe6.