Handle directory ownership in package