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:
>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.