From owner-freebsd-questions@FreeBSD.ORG  Tue Oct  7 07:18:28 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 841581065686
	for <freebsd-questions@freebsd.org>;
	Tue,  7 Oct 2008 07:18:28 +0000 (UTC) (envelope-from bsam@ipt.ru)
Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102])
	by mx1.freebsd.org (Postfix) with ESMTP id 3BE048FC14
	for <freebsd-questions@freebsd.org>;
	Tue,  7 Oct 2008 07:18:28 +0000 (UTC) (envelope-from bsam@ipt.ru)
Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru)
	by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@ipt.ru>)
	id 1Kn6pu-000M4E-CS; Tue, 07 Oct 2008 11:18:26 +0400
Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD))
	(envelope-from <bsam@ipt.ru>)
	id 1Kn6rS-0000Kc-5A; Tue, 07 Oct 2008 11:20:02 +0400
To: stevefranks@ieee.org
References: <539c60b90810061455g19c6bbc2h98e97083e3d7a42f@mail.gmail.com>
From: Boris Samorodov <bsam@ipt.ru>
Date: Tue, 07 Oct 2008 11:20:02 +0400
In-Reply-To: <539c60b90810061455g19c6bbc2h98e97083e3d7a42f@mail.gmail.com>
	(Steve Franks's message of "Mon\, 6 Oct 2008 14\:55\:13 -0700")
Message-ID: <72204541@bs1.sp34.ru>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject: Re: compat/linux program claims "no write access to ~"
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Oct 2008 07:18:28 -0000

"Steve Franks" <stevefranks@ieee.org> writes:

> Sounds like a bogus error to me.  I just downgraded amd64 to i386,
> reinstalled a linux program and it claims it can't write to ~ now.
> I'm running it, and I have no reason to think it wouldn't run as me.
> ~ is 775 anyway.  Also, running the linux program as su or sudo gives
> the same error.  Any ideas just where this might be coming from?  I'm
> on 7-STABLE, i386, linux-base-fc4.

You may use ktrace/linux_kdump to find a culprit.
BTW, make sure you don't have LINUXBASE/home/user as well as ~.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve