DP-285 setting correct dir permission