* Re: Re: testChar and testBlock failed in pynfs
[not found] <tencent_5534F052C9A729501BB69B325CC737AB8A07@qq.com>
@ 2023-03-17 20:22 ` J. Bruce Fields
0 siblings, 0 replies; only message in thread
From: J. Bruce Fields @ 2023-03-17 20:22 UTC (permalink / raw)
To: 周周妈; +Cc: linux-nfs
On Fri, Mar 17, 2023 at 04:45:19PM +0800, 周周妈 wrote:
> >runs with and without root.
>
> Do you mean in /etc/exports with and without no_root_squash?
> Or run as root or not root?
I used no_root_squash on the export, then ran pynfs once as root and
once as a non-root user; details in that git tree if you're interested.
--b.
> Subject:Re: testChar and testBlock failed in pynfs
>
>
> On Mon, Mar 13, 2023 at 06:25:58PM +0800, 周周妈 wrote:
> > I think mknod for char or block device file need root permission.
> > So no_root_squash is needed in /etc/exports in server.
> > Is it right? Why not put this information in README file?
>
> Yeah, it should probably be better documented.
>
> For what it's worth, the scripts I used for my testing are in
> http://git.linux-nfs.org/?p=bfields/testd.git;a=tree. I did separate
> runs with and without root.
>
> --b.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-17 20:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_5534F052C9A729501BB69B325CC737AB8A07@qq.com>
2023-03-17 20:22 ` Re: testChar and testBlock failed in pynfs J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).