Merge pull request #1 from vanicat/master

add and commit file when read-only is turn on