Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 02:11:04 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Doug Poland" <doug@polands.org>
Cc:        questions Questions <questions@freebsd.org>
Subject:   Re: Trouble getting a core dump from clamd
Message-ID:  <55285015@ipt.ru>
In-Reply-To: <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> (Doug Poland's message of "Wed, 20 Jan 2010 15:24:51 -0600")
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55285015>