From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 23:22:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 881F916A401 for ; Thu, 8 Feb 2007 23:22:47 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.freebsd.org (Postfix) with ESMTP id 4648813C48D for ; Thu, 8 Feb 2007 23:22:47 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 6100820B404; Thu, 8 Feb 2007 17:22:46 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XFZ2rNvH8TSF; Thu, 8 Feb 2007 17:22:40 -0600 (CST) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:1f01:224:1::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 2BAB820586C; Thu, 8 Feb 2007 17:22:40 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Thu, 8 Feb 2007 17:22:31 -0600 User-Agent: KMail/1.9.5 X-Face: &'; cS03F?rr_w2Qce.d2f7xmwXfcJWDs>}CkpDw.c]ZJJ_)i0Nx Cc: freebsd-emulation@freebsd.org Subject: Weird perms with linux_base-gentoo-stage3 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: Thu, 08 Feb 2007 23:22:47 -0000 --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 (),=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--