From owner-freebsd-questions Tue Mar 5 4:53: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ceca.es (mail.ceca.es [80.68.128.18]) by hub.freebsd.org (Postfix) with ESMTP id 4A1AD37B400 for ; Tue, 5 Mar 2002 04:52:56 -0800 (PST) Received: from mulhacen.caja-granada.es ([192.168.25.2]) by mail.ceca.es (8.8.8+Sun/8.8.8) with ESMTP id NAA28928 for ; Tue, 5 Mar 2002 13:52:50 +0100 (MET) Received: from CORREOEX.caja-granada.es (sccpd00 [130.130.7.3]) by mulhacen.caja-granada.es (8.11.6/8.11.6) with ESMTP id g25CqEv08992 for ; Tue, 5 Mar 2002 13:52:14 +0100 (CET) X-RAV-AntiVirus: Este correo ha sido escaneado buscando virus en el host: mulhacen.caja-granada.es Received: from CORREOEX.caja-granada.es (sccpd00 [130.130.7.3]) by mulhacen.caja-granada.es (8.11.6/8.11.6) with ESMTP id g25CqEv08992 for ; Tue, 5 Mar 2002 13:52:14 +0100 (CET) (envelope-from JMegias@caja-granada.es) Received: by correoex.caja-granada.es with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Mar 2002 13:55:40 +0100 Message-ID: <1A4723CDE42AD611B61200A0C9AA5F3729BB9C@correoex.caja-granada.es> From: "Megias Sanchez, Jose Manuel" To: questions@freebsd.org Subject: RE: Help with finger permission denied Date: Tue, 5 Mar 2002 13:55:32 +0100 X-Mailer: Internet Mail Service (5.5.2653.19) 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 Hello to all the people that they help me. My problem was in the permissions of the /tmp directory, these are the permissions it had: drwxr-x--- 9 root wheel 1024 Mar 5 12:22 tmp I've changed this and now the finger command is running ok. The permissions now are: drwxrwxrwx 9 root wheel 1024 Mar 5 12:22 tmp Thanks a lot to all of you, greetings. -----Mensaje original----- De: Edwin Groothuis [mailto:edwin@mavetju.org] Enviado el: martes, 05 de marzo de 2002 13:05 Para: Megias Sanchez, Jose Manuel CC: questions@freebsd.org Asunto: Re: Help with finger permission denied On Tue, Mar 05, 2002 at 12:30:04PM +0100, Megias Sanchez, Jose Manuel wrote: > Hello, here is the last lines of the output of 'ktrace finger jose' > command where the output denied message it's seen. > > [...] > 7107 finger CALL stat(0xbfbfea98,0xbfbfe9c8) > 7107 finger NAMI "/tmp" > 7107 finger RET stat 0 > 7107 finger CALL open(0xbfbfea98,0xa02,0x180) > 7107 finger NAMI "/tmp/bt.kt3ceNDJEt" > 7107 finger RET open -1 errno 13 Permission denied > 7107 finger CALL sigprocmask(0x3,0xbfbfee98,0) > 7107 finger RET sigprocmask 0 This is where it goes wrong. What are the permissions on /tmp? These are mine: drwxrwxrwt 9 root wheel 5120 Mar 5 23:02 tmp Maybe your root partition is full? Also possible. Edwin, loves ktrace because it shows what's going on -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message