set permissions on pms file