Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 19:18:27 -0600
From:      Doug Poland <doug@polands.org>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        questions Questions <questions@freebsd.org>
Subject:   Re: Trouble getting a core dump from clamd
Message-ID:  <4B57AB63.6080306@polands.org>
In-Reply-To: <55285015@ipt.ru>
References:  <db60663b086aed5329984a666b8b7e08.squirrel@email.polands.org>	<d36406631001190910g5c56b43en9ca9b87bf244a40d@mail.gmail.com>	<a3de0a40551edaedbb49b1d5ac2366a2.squirrel@email.polands.org>	<6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com>	<0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org>	<ED733F36-49ED-4FFA-B0D2-4BE90CDA9FE7@mac.com>	<4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> <55285015@ipt.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2010-01-20 17:11, Boris Samorodov wrote:
> On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote:
>
>> % sysctl -a | grep core
>> kern.corefile: /var/coredumps/%U/%N.core
>
> As CORE(5) says %U is a UID...
>
>> % touch /var/coredumps/file
>> % ll !$
>> ll /var/coredumps/file
>> -rw-r--r--  1 doug  wheel  0 Jan 20 15:13 /var/coredumps/file
>
> ... so you should have a directory /var/coredumps/<UID>  owned by
> (well, at least have permissions to write by) this UID.
>
That was it, thanks for the keen vision!

-- 
Regards,
Doug



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4B57AB63.6080306>