Use install
instead of mkdir && chown && chmod
#1258
Merged
install
instead of mkdir && chown && chmod
#1258