From owner-freebsd-questions Tue Feb 19 8:21:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from calcon.calcon.net (calcon.net [63.149.52.2]) by hub.freebsd.org (Postfix) with ESMTP id 68E1B37B419 for ; Tue, 19 Feb 2002 08:21:30 -0800 (PST) Received: from calcon.net (vpn1.calcon.net [63.149.52.253]) by calcon.calcon.net (8.11.2/8.11.2) with ESMTP id g1JGGCM26501; Tue, 19 Feb 2002 10:16:12 -0600 Message-ID: <3C727B7F.700099F2@calcon.net> Date: Tue, 19 Feb 2002 10:21:19 -0600 From: Douglas Egan X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jan Grant Cc: Matt H , raiden@shell.core.com, freebsd-questions Subject: Re: bind: permission denied References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jan Grant wrote: > Thanks to all the great pointers. The sypheed author asked me to check the permissions of the /tmp directory. /tmp was fine, but the problem was that I had linked /var/tmp to a different filesystem. The link target "/usr2/tmp" did not have the proper permissions. It was owned by root and only had 755 permissions. chmod 1777 /usr2/tmp did the trick. Thanks again for the ideas. As is usually the case, a no-brainer (once the problem was realized). Doug Egan > On Thu, 14 Feb 2002, Matt H wrote: > > > > > > So it's probably sylpheed trying to bind to a low-numbered port (1023 or > > > less), which you need root privs to do. Alternatively, trying to open a > > > unix-domain socket (ie, one in the filesystem) where you don't have > > > sufficient FS privs to do so can also cause this. > > > > I'm using sylpheed 0.7.1 to write this mail, and I'm not root > > > > >sockstat | grep syl > > matt sylpheed 3820 8 tcp4 192.168.1.100:4027 192.168.1.100:143 > > matt sylpheed 3820 3 stream XFree86[414]:26 > > matt sylpheed 3820 4 stream /var/tmp/sylpheed-1001 > > This last looks like it might be the problem. The original poster should > check /tmp (or /var/tmp) for named sockets that sylpheed might be trying > to use, that are owned by root and not world-accessible. Deleting them > (rm as root) should let it run correctly as a normal user. > > -- > jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ > Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk > On modesty: whoever said "it's hard being perfect" obviously wasn't me. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message