Add type casting to user/group modules, remove executable bit from other modules