非root UNIX用户在尝试访问NTFS卷时被拒绝权限
适用场景
- ONTAP 9
- NTFS安全模式卷
- NFS
问题描述
- 尝试访问NTFS卷时、UNIX用户(非root用户)的权限被拒绝
sudo -u <UNIX_USER_NAME> ls -al /mnt/folder/
ls: cannot open directory /mnt/folder/: Permission denied
- 在存储
EMS log:
Vserver: svm1 (internal ID: 6)
Error: Acquire UNIX credentials procedure failed
[ 4 ms] Entry for user-name: <UNIX_USER_NAME> not found in the current
source: FILES. Entry for user-name: <UNIX_USER_NAME> not found in
any of the available sources
**[ 5] FAILURE: Unable to retrieve UID for UNIX user <UNIX_USER_NAME>
Error: command failed: Failed to resolve user name to a UNIX_ID. Reason: "SecD
Error: object not found".
- 特定UNIX用户具有UNIX-win名称映射。
::> vserver name-mapping show -vserver svm
Vserver: svm
Direction: unix-win
Position Hostname IP Address/Mask
-------- ---------------- ----------------
1 - - Pattern: svm1
Replacement: domain\\atmn