set directory owner and permission mainly for shared file system
Merge branch 'pull-request-1002' into dev_by_docker