[PATCH]Do not open the dir for purely attr/acl related mask

Abhidnya S Joshi achirmul at in.ibm.com
Mon Jan 13 23:25:59 MST 2014


Hi list,

Please find the attached patch which modifies open_directory call to get 
rid of unnecessary open. 
As Samba always opens the directory, dir operations always require 
READ_DATA/read set on dir which is not true with Windows.
The example operation is set ACL on dir by owner when there are zero ACLs. 
This way is already present for files.
Please let me know suggestions/comments

I am also trying to write torture test around this.



Thanks
Abhidnya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-Don-t-open-the-dir-for-stat-attr-acl-related-mask.patch
Type: application/octet-stream
Size: 1697 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140114/96fc0a9d/attachment.obj>


More information about the samba-technical mailing list