Correct user/group attributes, Fixes #75

conditionally set based on attribute