8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] cornfed courierlo...
FromSent OnAttachments
nicholas coleJul 10, 2000 2:49 pm 
nicholas coleJul 10, 2000 4:53 pm 
nicholas coleJul 10, 2000 8:08 pm 
nicholas coleJul 10, 2000 8:50 pm 
Sam VarshavchikJul 10, 2000 9:10 pm 
nicholas coleJul 10, 2000 9:35 pm 
Michael S. FischerJul 10, 2000 9:47 pm 
Sam VarshavchikJul 10, 2000 9:49 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] cornfed courierlocal: Permission deniedActions...
From:nicholas cole (ni@profile.com)
Date:Jul 10, 2000 9:35:54 pm
List:net.sourceforge.lists.courier-users

-- nicholas cole

total 234 drwx------ 2 courier courier 512 Jul 10 14:32 .

^^^^^^^^^^

Ok, that's a problem, the directory should be mode 755.

You need to investigate why the permissions were set this way. What was your umask when you did make install?

You might have to rm -rf /usr/lib/courier, then do a make install with your umask set to 022. You can back up the contents of /usr/lib/courier/etc, and restore your configuration after the reinstall.

Do those files have the proper owner/perms? And the closest to strace I have is ktrace, I'm assuming they're practicially the same thing?

I don't know. The idea is to trace the system calls of a process. If that's what your ktrace does, then it is. You also need the ability to automatically trace any created child processes (the -f flag), since the error will be reported by a child process.

Allright! I was using umask 077, so I rm -rf /usr/lib/courier again, changed my umask to 022, ran make install again, and this is what I find in my logs! Still want me to look around as to why this is going on, or does the umask explain this?

Jul 10 21:27:39 cornfed courierlocal: ... <te@cornfed.hidden.net>,success:
Message delivered.

Here's a snip of FreeBSD's ktrace manpage:

The ktrace command enables kernel trace logging for the specified pro-cesses. Kernel trace data is logged to the file ktrace.out. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O...

And it also has something similar to straces -f option (-d i think)

PS, THANKS!