Espen Martinsen wrote:
Hi,
Thanks for the answer Afshin,
Does that mean that there is noe way of influencing the "unix-attribute-bits" from the
windows-gui?
On ZFS Unix permission bits are set based on the ACL and all files on
ZFS have ACL. ZFS ACL is pretty much the same as Windows ACL, so if you
set something directly from Windows you should see pretty much the same
thing on ZFS, but inheritance works a bit differently, so if you set the
inheritance bits properly you should get the right result.
In my lab, the unix-users is running with a umask of 0027, which gives
files: rw-r-----
dirs: rwx-r-x---
When you create things over CIFS, Windows rules are applied for ACL
inheritance not Solaris rules so umask is not playing any role.
When they touch ACE's from windows, (well, edits them somewhay)
they all loose their perm-bits, "---------+"
Then, ie 'vi' or 'vim' thinks the files is read-only, (yes, you can override
this in 'vi')
But what about other applications?
Applications don't examine the permission bits or the ACL themselves,
file system does the access check, so as long as you have the correct
ACL, it doesn't matter what you see as perm-bits. You can see the
ACL using "ls -V".
I'll have to do a proper test, starting with the " chmod
A=everyone@:full_set:fd:allow ." at root-cat.
This probably resolve your problem.
Afshin
-esm-
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss