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
--nextPart1975905.xs9RVlOukj
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm using linux_base-gentoo-stage3-2006.0_2 for my 6.2-RELEASE system's Lin=
ux=20
emulation.  It works perfectly for my Linux apps - better than the recommen=
d=20
linux_base-fc4 port, in fact - but has a strange problem.  Whenever I insta=
ll=20
new software using Gentoo's "emerge" tool, the resulting binaries have weir=
d=20
permissions.  For example:

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

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

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

--nextPart1975905.xs9RVlOukj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

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

--nextPart1975905.xs9RVlOukj--



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