File autofs-5.0.7-eaccess.patch of Package autofs
Index: daemon/automount.c =================================================================== --- daemon/automount.c.orig +++ daemon/automount.c @@ -107,9 +107,9 @@ static int do_mkdir(const char *parent, /* If path exists we're done */ status = stat(path, &st); if (status == 0) { + errno = EEXIST; if (!S_ISDIR(st.st_mode)) errno = ENOTDIR; - errno = EEXIST; return 0; }