Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 18:14:03 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Christopher Key <cjk32@cam.ac.uk>
Cc:        questions@freebsd.org
Subject:   Re: Bizarre behaviour of Linux binary under 7.1
Message-ID:  <23725140@bb.ipt.ru>
In-Reply-To: <Prayer.1.3.1.0903141229390.8732@hermes-2.csi.cam.ac.uk> (Christopher Key's message of "14 Mar 2009 12\:29\:39 %2B0000")
References:  <Prayer.1.3.1.0903141229390.8732@hermes-2.csi.cam.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23725140>