From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 61BCF29E05 for ; Wed, 30 Oct 2013 11:24:45 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay3.corp.sgi.com (Postfix) with ESMTP id F2CE5AC02D for ; Wed, 30 Oct 2013 09:24:41 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) by cuda.sgi.com with ESMTP id W28VdDxeJMVVeR1v (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 30 Oct 2013 09:24:41 -0700 (PDT) Date: Wed, 30 Oct 2013 09:24:41 -0700 From: Christoph Hellwig Subject: Re: xfstests 317 Message-ID: <20131030162441.GA1112@infradead.org> References: <20131024161235.GA29381@infradead.org> <20131024162557.6dd72435@oracle.com> <20131025093333.GB24583@infradead.org> <20131028114328.4b05e0ee@oracle.com> <20131030161955.GA28755@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20131030161955.GA28755@infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dwight Engen Cc: xfs@oss.sgi.com On Wed, Oct 30, 2013 at 09:19:55AM -0700, Christoph Hellwig wrote: > On Mon, Oct 28, 2013 at 11:43:28AM -0400, Dwight Engen wrote: > > Hi Cristoph, on my system (where fsgqa is id 501) the one liner the > > test is running is: > > > > # ./src/nsexec -s -U -M "0 501 1000" -G "0 501 1000" ./src/lstat64 > > Usage: lstat64 [-t] filename ... > > The id here is 1000 and the following works just fine: > > /src/nsexec -s -U -M "0 1000 1000" -G "0 1000 1000" ./src/lstat64 > Usage: lstat64 [-t] filename ... But: ./src/nsexec -s -U -M "0 1000 1000" -G "0 501 1000" /root/xfstests/src/lstat64 execvp: Permission denied Which is probably due to: root@vm:~/xfstests# ls -ld ~ drwx------ 6 root root 4096 Oct 30 16:24 /root Guess we need a relative path here? _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs