Files In a Shared SMB Client Mount May Not Show The Actual Owner's UID
(Doc ID 1966752.1)
Last updated on JANUARY 11, 2021
Applies to:Solaris Operating System - Version 11.1 to 11.3 [Release 11.0]
Information in this document applies to any platform.
Using the Solaris 11 SMB Client Windows Interoperability to mount a SMB share to a Solaris filesystem it was observed that files and directories listed and created in a SMB Client mount point in Solaris 11 may not show the actual Owner/UID that owns or created the file.
This will be especially visible in a shared mount point that multiple users could write files to.
If Group permissions allows other users to write files they will be able to do so but the file ownership will be the user the mount was established as.
A ls of the directory will show the files with the UID and GID of the user that the SMB Client mount was created as. In the absence of those mount options, the Owner and Group of the directory mount point on the SMB Client system.
SMB Client mount is mounted as test1
# mount -F smbfs -o user=test1,uid=550,gid=10,fileperms=0777,dirperms=0777 //lbl-1130/test1 /smbtest
Note: In this case Identity mapping via idmap was not in use.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document