fix missing path in permissions setting command lines

Close #9