I've ran into an odd problem with my site creation script. I created
the script to automate the process of creating new site collections.
The site is created from a global template. When creating a site
from a template via stsadm the standard groups (Visitors, Members,
Owners) are not created. So I added the following lines to my script-
stsadm -o creategroup -url http://wss/sites/TestSite -name "Site
Administrators" -description "Use this group To give people full
control permissions To the SharePoint site: TestSite" -ownerlogin
domain\ID -type Owner
stsadm -o creategroup -url http://wss/sites/TestSite -name "Site
Members" -description "Use this group to give people contribute
permissions to the SharePoint site: TestSite" -ownerlogin domain\ID -
type Member
stsadm -o creategroup -url http://wss/sites/TestSite -name "Site
Visitors" -description "Use this group to give people read
permissions to the SharePoint site: TestSite" -ownerlogin domain\ID -
type Visitor
Then it goes on to add the Site Collection owners to the admin group.
When I go and view the site after creation I see each group listed
twice. But only one of the two are actually selectable. If I delete
one they both are deleted.
Any idea what is causing this? Or what I can do to fix it?