Thread (1 message) 1 message, 1 author, 2023-03-17

Re: Re: testChar and testBlock failed in pynfs

From: J. Bruce Fields <hidden>
Date: 2023-03-17 20:22:30

On Fri, Mar 17, 2023 at 04:45:19PM +0800, 周周妈 wrote:
&gt;runs with and without root.

Do you mean in&nbsp;/etc/exports&nbsp;with and without&nbsp;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:
&gt; I think mknod for char or block device file need root permission.
&gt; So&nbsp;&nbsp;no_root_squash is needed in&nbsp;/etc/exports in server.
&gt; 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help