fix permission problem

fixed #193 on master.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>