mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
615932e686
PR: 14575 Submitted by: maintainer
16 lines
601 B
Plaintext
16 lines
601 B
Plaintext
--- imap/src/osdep/unix/env_unix.c.orig Thu Oct 14 12:37:16 1999
|
|
+++ imap/src/osdep/unix/env_unix.c Thu Oct 14 13:21:27 1999
|
|
@@ -825,7 +825,11 @@
|
|
}
|
|
close (pi[0]); close (pi[1]);
|
|
}
|
|
- if (lockEaccesError) {/* punt silently if paranoid site */
|
|
+ if (
|
|
+#ifdef __FreeBSD__
|
|
+ strncmp(base->lock,"/var/mail/",10) && /* /var/mail/... isn't lockable */
|
|
+#endif
|
|
+ lockEaccesError) {/* punt silently if paranoid site */
|
|
sprintf (tmp,"Mailbox vulnerable - directory %.80s",hitch);
|
|
if (s = strrchr (tmp,'/')) *s = '\0';
|
|
strcat (tmp," must have 1777 protection");
|