Thorne Lawler writes:
Sam writes:
Thorne Lawler writes:Thanks again Sam.
> Essentially, I need shared folders, and I don't have any choice about
> running under Solaris. I would really like to use courier... what are my
> options?
Your only option is to use virtual shared folders, that use IMAP access
control lists. Virtual shared folders are not affected by the Solaris
kernel bug.
Since I am planning to use LDAP authentication, I get the impression that Virtual folders are implicit.
Not necessarily. LDAP is often used to authenticate system accounts.
Can you tell me how I can make the 'make check' complete in this case? Since
this is a production system, I would really like to see courier complete
some kind of validation test before I install it.
make check works by running a test script and comparing its output with the expected output.
As such, one must identify parts of the test script that are affected by this issue, remove them, then remove the corresponding portions of the reference output file.
Also, is this Solaris bug documented anywhere? I can probably arrange to
bring pressure to bear on my Sun rep if it is, in the hope that it will be
fixed.
Tell your Sun rep to execute the following shell commands, under any non-root userid:
mkdir foo
touch foo/bar
chmod 000 foo
stat foo/bar
stat foo/.
The first stat command fails under Solaris, the second stat succeeds under Solaris. "." is an ordinary entry in the foo subdirectory. It just so happens that it always refers to its parent directory, but in all other respects it is to be treated no different than any other file in the same directory, such as 'bar'. Therefore, since your userid does not have execute permissions on the foo directory, an attempt to search the directory for this directory entry must fail.
This bug appears to be present in some geneological lineage from ancient UNIX. HP-UX had the same bug. HP fixed it just before they got swallowed by Compaq.
I get the same errors as Thorne with the imap shared-folders when running 'make check', but this is on a system with a fresh install of Mandrakelinux 10 Official. It has a Mandrake modified linux kernel 2.6.3. And the courier version is courier-0.45.4.20040502.
Also, here is the output of running the tests that Sam suggested:
$ mkdir foo
$ touch foo/bar
$ chmod 000 foo
$ stat foo/bar
stat: cannot stat `foo/bar': Permission denied
$ stat foo/.
stat: cannot stat `foo/.': Permission denied
--
Scott Langley
[EMAIL PROTECTED]
Systems Administrator
Rural Network Services
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
