set correct permission in the beginning test