跳转到主内容

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

Views:
7
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs
Last Updated:

Applies to

ONTAP 9

Answer

If -is-admin-users-mapped-to-root-enabled optional parameter is set to true, Windows users who are members of the "BUILTIN\Administrators" group are mapped to UNIX user 'root' unless a user who is a member of this group is explicitly mapped to a UNIX user.

Additional Information

  • If a Windows user is a member of the "BUILTIN\Administrators" group and an explicit user mapping exists for that user, the explicit name mapping takes precedence.
  • The default value for this parameter is true.
  • Set parameter to false to disable mapping the administrators group members to root.

Example:

vserver cifs options modify -vserver vserver_name -is-admin-users-mapped-to-root-enabled false
Accounts in the administrators group no longer map to root. You can only explicitly map a single user to root.