? .deps ? initdb Index: initdb.c =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/bin/initdb/initdb.c,v retrieving revision 1.7 diff -c -w -r1.7 initdb.c *** initdb.c 13 Nov 2003 23:46:31 -0000 1.7 --- initdb.c 14 Nov 2003 06:47:50 -0000 *************** *** 2345,2350 **** --- 2345,2359 ---- made_new_pgdata = true; } + else + { + printf("fixing permissions on existing directory %s... ",pg_data); + fflush(stdout); + if (!chmod(pg_data,0700)) + exit_nicely(); + else + check_ok(); + } /* Create required subdirectories */