メインコンテンツまでスキップ

NFSv4.1を使用してFlexCacheボリューム内の読み取り専用ファイルをコピーするときに権限が拒否されました

Views:
14
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009563014</a>
Last Updated:

環境

  • ONTAP 9
  • NFSv4.1
  • FlexCache

問題

標準(root以外)ユーザがNFSv4.1を使用してFlexCacheボリュームの読み取り専用ファイルをコピーしようとすると、「Permission denied」エラーが表示されますが、NFSv3またはNFSv4.0を使用している場合は成功します
 
例:
[usr1@client1 ~]# sudo mount -t nfs -o vers=4.1,sec=sys svm1:/cache /mnt/cache [usr1@client1 ~]# cd /mnt/cache [usr1@client1 cache]$ echo hi > test [usr1@client1 cache]$ ls -al total 4 drwxrwxrwx. 2 root root 4096 May 4 12:48 . drwxr-xr-x. 7 root root 109 May 4 08:53 .. -rw-r--r--. 1 usr1 grp1 3 May 4 12:48 test [usr1@client1 cache]$ [usr1@client1 cache]$ cp test test1 [usr1@client1 cache]$ ls -al total 4 drwxrwxrwx. 2 root root 4096 May 4 12:48 . drwxr-xr-x. 7 root root 109 May 4 08:53 .. -rw-r--r--. 1 usr1 grp1 3 May 4 12:48 test -rw-r--r--. 1 usr1 grp1 3 May 4 12:48 test1 [usr1@client1 cache]$ [usr1@client1 cache]$ chmod 444 test [usr1@client1 cache]$ ls -al total 4 drwxrwxrwx. 2 root root 4096 May 4 12:48 . drwxr-xr-x. 7 root root 109 May 4 08:53 .. -r--r--r--. 1 usr1 grp1 3 May 4 12:48 test -rw-r--r--. 1 usr1 grp1 3 May 4 12:48 test1 [usr1@client1 cache]$ [usr1@client1 cache]$ cp test test2 cp: cannot create regular file 'test2': Permission denied [usr1@client1 cache]$ ls -al total 4 drwxrwxrwx. 2 root root 4096 May 4 12:49 . drwxr-xr-x. 7 root root 109 May 4 08:53 .. -r--r--r--. 1 usr1 grp1 3 May 4 12:48 test -rw-r--r--. 1 usr1 grp1 3 May 4 12:48 test1 -r--r--r--. 1 usr1 grp1 0 May 4 12:49 test2 [usr1@client1 cache]$

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.