prevent unexpected permission changing
Merge pull request #46 from nullnull/master

prevent unexpected permission changing