[PATCH] Handle EACCES when fetching DOS attributes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

[PATCH] Handle EACCES when fetching DOS attributes

Samba - samba-technical mailing list

Attached is a patch for bug 12944.

Patchset is already reviewed by Christof, so I'm going to push in 24 hours if
noone objects. :)

Fwiw: I tried to add a test for this, but unfortunately the POSIX permission
code insists on adding S_IRUSR to the requested permissions when trying to set
the SD for a file from the smbtorture test. As the test requires a file lacking
read access for the user and I couldn't come up with a means to achieve that
from within autobuild without a being shoehorned into a serious battle with the
POSIX ACL subsystem, I skipped the test.


bug12944.patch (7K) Download Attachment