Bizarre behaviour of Linux binary under 7.1

Boris Samorodov bsam at ipt.ru
Sat Mar 14 08:39:53 PDT 2009


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


More information about the freebsd-questions mailing list