Re: support for mknod to windows now in cifs vfs

From: Steve French
Date: Sun Nov 20 2005 - 19:52:38 EST

Martin Koeppe wrote:

For the mapping of the lower 9 mode bits to NT security entries, I just found a good description from Corinna at

I encountered the same ACE reordering in explorer with sfu files, but didn't think about these deny entries enough. At least in this regard, cygwin and sfu seem to be compatible. So, Steve, this may be interesting to you for implementing chmod.

And it might be of interest to the samba people, if they decide to implement an sfu option on the server side.


Once again thank you for finding useful data on hard problems. I don't think this will be too hard to code into the cifs vfs (I also wish ntfs already had worker functions for setfacl and chmod similar to this...) but now the interesting question is how fast it is worth coding and getting in mainline -
1) acl and chmod mapping (ie the ntfs security descriptor like way, rather than Samba-only posix acl way), and
2) Kerberos/SPNEGO session setup

are the two most common requests for the cifs vfs these days. The upcall for Kerberos support is begun but not complete, and it has taken longer than I had hoped partly due to lack of examples - the only uses of the new cn.ko (Linux "connector") posted so far are simpler (notification up, rather than "request up /response down").
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at