Weird perms with linux_base-gentoo-stage3
Kirk Strauser
kirk at strauser.com
Thu Feb 8 23:42:31 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20070208/ef14ddff/attachment.pgp
More information about the freebsd-emulation
mailing list