exec rights fix.
Merge pull request #13 from shouze/master

exec rights fix.