[cifs-protocol] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

2009-11-24 Thread Tim Prouty
Hi, Based on the ZwSetInformationFile() docs (http://msdn.microsoft.com/en-us/library/ms804363.aspx) and from my testing of smb1 against a win7 share, in order to set FileEndOfFileInformation it is necessary that the file is first opened with FILE_WRITE_DATA in the access_mask. It then follows

Re: [cifs-protocol] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

2009-11-24 Thread Tom Jebo
Hi Tim, Thanks for your ZwSetInformationFile() question. One of our team will contact you shortly. Tom Jebo Microsoft Open Specifications Documentation Support -Original Message- From: Tim Prouty [mailto:tim.pro...@isilon.com] Sent: Tuesday, November 24, 2009 6:07 PM To:

Re: [cifs-protocol] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

2009-11-24 Thread Tim Prouty
Thanks Tom. The question is really about SMB1 Trans2SetPathInfo(). I was just referencing ZwSetInformationFile() for some background on the issue. -Tim On Nov 24, 2009, at 3:35 PM, Tom Jebo wrote: Hi Tim, Thanks for your ZwSetInformationFile() question. One of our team will contact