From: Christoph Hellwig <hch@infradead.org>
To: Dwight Engen <dwight.engen@oracle.com>
Cc: xfs@oss.sgi.com
Subject: Re: xfstests 317
Date: Wed, 30 Oct 2013 09:24:41 -0700 [thread overview]
Message-ID: <20131030162441.GA1112@infradead.org> (raw)
In-Reply-To: <20131030161955.GA28755@infradead.org>
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
next prev parent reply other threads:[~2013-10-30 16:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20131024161235.GA29381@infradead.org>
[not found] ` <20131024162557.6dd72435@oracle.com>
2013-10-25 9:33 ` xfstests 317 Christoph Hellwig
2013-10-28 15:43 ` Dwight Engen
2013-10-30 16:19 ` Christoph Hellwig
2013-10-30 16:24 ` Christoph Hellwig [this message]
2013-10-30 18:30 ` [PATCH] xfstests: generic/317 use relative paths to avoid traversal permission problems Dwight Engen
2013-10-31 15:40 ` Christoph Hellwig
2013-11-04 20:43 ` Rich Johnston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131030162441.GA1112@infradead.org \
--to=hch@infradead.org \
--cc=dwight.engen@oracle.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox