fix .rst document permissions