--- servers/slapd/slaptest.c 2006/03/31 10:20:05 1.7 +++ servers/slapd/slaptest.c 2006/10/19 20:06:47 1.7.2.1 @@ -45,7 +45,7 @@ test_file( const char *fname, const char switch ( stat( fname, &st ) ) { case 0: - if ( !( st.st_mode & S_IWUSR ) ) { + if ( !( st.st_mode & S_IWRITE ) ) { Debug( LDAP_DEBUG_ANY, "%s file " "\"%s\" exists, but user does not have access\n", ftype, fname, 0 );