[linux-cifs-client] [PATCH] [CIFS] when creating new inodes, use file_mode/dir_mode on mount without unix extensions

Jeff Layton jlayton at redhat.com
Wed Jan 9 19:48:47 GMT 2008


Hi Steve,
   I originally sent this patch in late September. We discussed it a
bit and you thought it was best to wait until most of the cifsacl
patches were in. Now that they are, I'd like to have this patch
reconsidered. It just makes it so that file and dir modes are not
temporarily overridden when a new inode is created.

I've tested it using my modified cthon04 test on a CIFS mount to
samba with unix extensions disabled. Everything seems to work as long
as you pick sensible file_mode/dir_mode settings. The default file_mode
makes it fail, however -- it seems that cthon04 doesn't care for
mandatory locking.

Thoughts?
-- 
Jeff Layton <jlayton at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CIFS-when-creating-new-inodes-use-file_mode-dir_m.patch
Type: text/x-patch
Size: 2339 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080109/fd88eaf5/0001-CIFS-when-creating-new-inodes-use-file_mode-dir_m.bin


More information about the linux-cifs-client mailing list