From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:46:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 582B81065672 for ; Wed, 18 Nov 2009 15:46:35 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id D80B78FC12 for ; Wed, 18 Nov 2009 15:46:34 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id nAIFYOEY022055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 16:34:24 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B0413FA.8080506@omnilan.de> Date: Wed, 18 Nov 2009 16:34:18 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1215DEE4C8E58DC7009B3D80" Subject: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:46:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1215DEE4C8E58DC7009B3D80 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I have a daemon (compiled with -g) which is dying frequently, but I=20 can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the=20 binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess=20 the problem is missing write permissions there. Thanks, -Harry --------------enig1215DEE4C8E58DC7009B3D80 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksEFAAACgkQLDqVQ9VXb8jjEQCgnwuDXvJaUfNoRgdNof7ywbbY 2MkAnRZ8qRBftFika4VzEoA8fT78SgZ8 =Dcb6 -----END PGP SIGNATURE----- --------------enig1215DEE4C8E58DC7009B3D80--