13 lines
567 B
C
13 lines
567 B
C
--- src/osdep/unix/env_unix.c.orig Thu Dec 21 01:12:13 2000
|
|
+++ src/osdep/unix/env_unix.c Thu Jan 18 16:11:09 2001
|
|
@@ -971,7 +971,8 @@ long dotlock_lock (char *file,DOTLOCK *b
|
|
}
|
|
close (pi[0]); close (pi[1]);
|
|
}
|
|
- if (lockEaccesError) { /* punt silently if paranoid site */
|
|
+ if (strncmp(base->lock,"/var/mail/",10) && lockEaccesError) {
|
|
+ /* punt silently if paranoid site */
|
|
sprintf (tmp,"Mailbox vulnerable - directory %.80s",base->lock);
|
|
if (s = strrchr (tmp,'/')) *s = '\0';
|
|
strcat (tmp," must have 1777 protection");
|