Date: Tue, 19 Feb 2002 10:21:19 -0600 From: Douglas Egan <degan@calcon.net> To: Jan Grant <Jan.Grant@bristol.ac.uk> Cc: Matt H <matt@proweb.co.uk>, raiden@shell.core.com, freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: bind: permission denied Message-ID: <3C727B7F.700099F2@calcon.net> References: <Pine.GSO.4.44.0202151219500.15622-100000@mail.ilrt.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C727B7F.700099F2>