Michael Herf <[email protected]> wrote:
Regular user-mode samba provides a "map read only" setting, which by default maps the Windows "read-only" setting to UNIX attribs. (Similarly, there's a "delete readonly" feature to give users a way to delete read-only files.)
I assume Samba has this because it is trying to compensate for not having access to on-disk Windows-style ACLs and DOS attributes. ZFS supports full Windows ACL and DOS read-only bit semantics. If you are using the CIFS service to access a ZFS file system, you don't need such special "features".
What I'm seeing on the CIFS implementation is that this mapping appears to be OFF by default, and I can't find a way to change it.
There's no special mapping between UNIX permissions and the DOS read-only atribute. Think Windows behavior rather than Samba behavior.
The effect is that a user who owns a 0400 file cannot make it 0600 or delete it. It is stuck as read-only forever.
If you can't change change permissions on a file, check the ACL. It is probably missing some permission bits that are required to allow you to change the ACL. Alan
Anyone have a way to enable this using the CIFS service? -- This message posted from opensolaris.org _______________________________________________ cifs-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________ cifs-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
