Skip to main content
NetApp Knowledge Base

After creating a file on Windows, why the owner is root and the group is bin on Linux?

Views:
1,518
Visibility:
Public
Votes:
3
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • CIFS
  • NFS

Answer

  • If the advanced CIFS server option "Map Administrators to UNIX User 'root'" -is-admin-users-mapped-to-root-enabled is set to true, Windows users who are members of the BUILTIN\Administrators group are mapped to UNIX user root unless they are explicitly mapped to a UNIX user
  • In ONTAP, the default local UNIX user root on each SVM has an User ID (UID) of 0 and a primary Group ID (GID) of 1, which has the local UNIX group daemon.  With this configuration, files created by Windows users mapped to UNIX user root will show as owned by UNIX user root (UID 0) and group daemon (GID 1)
  • For the files created by Windows users mapped to UNIX user root, NFS clients may resolve Group ID (GID) 1 to UNIX group bin based on their local configuration (i.e. the /etc/group file or LDAP)

Additional Information

 

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.