Fixed permissions. Added array brackets.]
Fixed group name validation