made the segment permissions configurable when creating databases using the wgdb tool (POSIX only)