From owner-freebsd-questions@FreeBSD.ORG Sat Mar 14 15:39:52 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBC44106566B for ; Sat, 14 Mar 2009 15:39:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id A6E288FC1F for ; Sat, 14 Mar 2009 15:39:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1LiVYo-0007Fo-Ql; Sat, 14 Mar 2009 18:14:02 +0300 To: Christopher Key References: From: Boris Samorodov Date: Sat, 14 Mar 2009 18:14:03 +0300 In-Reply-To: (Christopher Key's message of "14 Mar 2009 12\:29\:39 +0000") Message-ID: <23725140@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: Bizarre behaviour of Linux binary under 7.1 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: Sat, 14 Mar 2009 15:39:53 -0000 On 14 Mar 2009 12:29:39 +0000 Christopher Key wrote: > After appropriate use of truss invoking B directly, I found that the > source of problems was B being unable to create its output file > /tmp/...: > linux_open("/tmp/1234.tmp",0x42,0600) ERR#13 'Permission denied' > which is odd. /tmp has suitable permissions: > #ls -al /tmp > drwxrwxrwt 12 root wheel 720 14 Mar 11:25 . > drwxr-xr-x 21 root wheel 512 13 Mar 10:32 .. > ... > and I can quite happily create a identically named file in /tmp myself: > #echo test >/tmp/1234.tmp > #cat /tmp/1234.tmp > test > #rm /tmp/1234.tmp Please, compare /compat/linux/ directory structures between an old and new installation. It seems to me that you have /compat/linux/tmp directory at the new one. It shouldn't exist. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve