set sitedir permissions