Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 17:22:31 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-emulation@freebsd.org
Subject:   Weird perms with linux_base-gentoo-stage3
Message-ID:  <200702081722.37465.kirk@strauser.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I'm using linux_base-gentoo-stage3-2006.0_2 for my 6.2-RELEASE system's Linux 
emulation.  It works perfectly for my Linux apps - better than the recommend 
linux_base-fc4 port, in fact - but has a strange problem.  Whenever I install 
new software using Gentoo's "emerge" tool, the resulting binaries have weird 
permissions.  For example:

  $ ls -la /compat/linux/usr/bin/pcretest
  ----rwS--T  1 root  wheel  33828 Feb  8 17:13 /compat/linux/usr/bin/pcretest

I found a similar question in the freebsd-emulation list 
(<URL:http://lists.freebsd.org/pipermail/freebsd-emulation/2006-December/002937.html>), 
and it seems that the problem is trigged by the utimes() syscall.  Has anyone 
found a workaround to this problem?  It doesn't look like it's been patched 
in FreeBSD itself yet, and I haven't gotten a reply from the author of the 
above post when I asked him if he'd solved the problem.  Neither was I able 
to find the patch he mention.

Any pointers would be most appreciated!  I'm getting tired of manually fixing 
the permissions on every file I install (and hoping that 755 for exes is 
correct).
-- 
Kirk Strauser

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFy7C95sRg+Y0CpvERAggsAJoCEmBUz6tg398wUg+/dyBBjbvdqACfaKi+
jN2e2SjY0/jskEda7P/2+a8=
=AaMy
-----END PGP SIGNATURE-----

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