Set group on directories