Originally posted by: tony.evans
I believe what you're seeing is the result of directory permissions. It's been a long time since I looked, but I believe the administrative flag doesn't affect which group is assigned to the files created, it's more likely the directory you're creating files in is owned by that group and has the SGID bit set. i.e. the directory permissions will have a capital S where the group x would usually be, like this
drwxrwS--- 2 bob system 512 16 May 15:41 dirname
Any file created in that directory will be owned by user:system