From: markus schnalke Date: Wed, 26 Aug 2015 19:36:54 +0000 (+0200) Subject: Fix autoconf check for mailspool world write permission X-Git-Tag: mmh-0.2-RC1~32^2 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=e2c8b0c495161c21c7bece0b4fc844542e0da212;hp=e2c8b0c495161c21c7bece0b4fc844542e0da212 Fix autoconf check for mailspool world write permission This is a bugfix and improvement for commit b15b7cc (``Use realpath to find the mailspool''). We can even do this check much simpler, if we focus on the problem that $lspath -dlL $mailspool does not check the target of a symlink, although -L is given. The contradicting -d seems to overrule it. We can fix this more easily by appending a slash to the path: $ ls -ld /var/mail/ drwxrwxr-t 2 root root 4096 Apr 29 06:36 /var/mail// Without the slash it was: $ ls -ld /var/mail lrwxrwxrwx 1 root root 10 Nov 22 2011 /var/mail -> spool/mail/ This small change does it for one level of indirection. This should be sufficient. ---