Solaris CIFS behaves different to Samba as it is ACL only and always. Next, you cannot delete or kill ACL on Solaris ZFS. If you remove ACL then you have a default ACL set that is equal to the Unix permissions.
Another problem to consider. ACL has advanced inheritance features not available with traditional Unix permissions. If you set Unix permissions via chmod, these inheritance settings are lost.
So best of all suggestion with Solaris: Do not use traditional Unix permissions with CIFS. Use ACL all the way.
If you want grant access only for a user, remove everyone@ and add the user with modify or full permissions.
The inheritance settings are used when you create new files or folders.
Easiest way to set ACL on Solaris:
- Do it from Windows as root but do not set deny rules from Windows or
- Use napp-it and the ACL extension (free for basic settings)