Permission hook didn't set the root folder permission