[LU-271] NFS4 over lustre open permission check failed Created: 03/May/11  Updated: 11/May/11  Resolved: 11/May/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Major
Reporter: Sarah Liu Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 5041

 Description   

With exports option "all_squash",running connectathon on NFS4 client over lustre, got permission deny error. With option "no_root_squash" option, this test can pass.

-rwxr-xr-x 1 sanityusr sanityusr 7997 May 2 13:13 excltest
---------- 1 sanityusr sanityusr 0 Feb 13 1970 exctest.file

/etc/exports:
/mnt/lustre *(fsid=0,rw,all_squash,anonuid=500,anongid=500)

Here is the result link:
https://maloo.whamcloud.com/test_sets/8d18aed2-70f9-11e0-a1b3-52540025f9af



 Comments   
Comment by nasf (Inactive) [ 09/May/11 ]

For open_create operation, NFS client will trigger separate open RPC after create RPC. We only need to check create permission for such case.

The patch is in review:
http://review.whamcloud.com/#change,494

Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,client,el5,ofa #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,server,el5,ofa #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by nasf (Inactive) [ 11/May/11 ]

landed to lustre-2.1 candidate.

Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Comment by Build Master (Inactive) [ 11/May/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #116
LU-271 Skip permission check for NFS open after create

Oleg Drokin : c8cbf38929f9f60cef75ff11a0dd1cc6f74cd533
Files :

  • lustre/llite/file.c
Generated at Sat Feb 10 01:05:24 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.