add chmod
Merge pull request #13 from snoweye/master

add chmod