Re: Re: testChar and testBlock failed in pynfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux