跳转到主内容

NFS PVC中现有目录的所有者或组错误

Views:
8
Visibility:
Public
Votes:
0
Category:
trident-kubernetes<a>TRIdent</a><a>2010003432</a><a>CPE-6446</a>
Specialty:
snapx
Last Updated:

适用场景

  • NetApp Astra三端23.10.
  • NFS 协议

问题描述

挂载的PVC中的目录具有 root 用户和组,而 不是预期的 所有者和组(在POD定义的SecurityContext中设置为userID 1000或groupID 3000)

/tmp/test $ ls -la
total 12
drwxrwxrwx   2 root    root   4096 Apr 18 16:48 .
drwxrwxrwt   1   root    root   4096 Apr 18 16:36 ..
drwxrwxrwx   2 root    root   4096 Mar 21 16:46 .snapshot
-rw-r--r--   1 1000    3000        0 Apr 18 16:47 test2.txt

 

 

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.