First, some general points: ZFS supports much more fine grain access control through ACLs which are actually pretty similar to Windows ACLs, so although 777 means everyone has full access in traditional Unix sense it doesn't exactly translate to everyone full-control from Windows/CIFS client point of view.
To see the ACL of the shared directory you can use "ls -vd" on your ZFS filesystem. Besides the ACL, ZFS now supports DOS attributes including read-only attribute. When a file is marked read-only, then regardless of the permissions or the ACL, you cannot write to it. Obviously, this is not the issue here since your source is a Linux box. About the problem: Although 777 gives write permission to everybody, it's not clear what permissions "smbclient put" command is using to open the file with. Can you capture and/or read network traces to see where exactly you're getting the error? By the way, I only see one problem why the title is "CIFS problems"? :) Afshin Mike wrote: > Hey, I'm running snv_78 and am trying to export a ZFS mount via CIFS. I > followed the "Getting Started Guide," and was able to pretty quickly export a > share in workgroup mode. > > I can successfully connect from a Linux box using smbclient, browse the > directory structure, and retrieve files. However, if I try to write to the > share, I get NT_STATUS_ACCESS_DENIED. > > For instance: > > [EMAIL PROTECTED]:~$ smbclient -W WORKGROUP -U songof > \\\\192.168.1.6\\remembering > Password: > Domain=[WORKGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] > smb: \> put foo.key > NT_STATUS_ACCESS_DENIED opening remote file \foo.key > smb: \> > > ...the mount point on the solaris box has been chmod to 777, so I don't think > it's a unix permissions problem. Is there some other layer of access control > that could be causing this? > > > This message posted from opensolaris.org > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
