[OpenIndiana-discuss] ZFS ACLs - Cannot Write Microsoft Office Files over CIFS

Andrew Martin amartin at xes-inc.com
Thu Nov 13 15:35:40 UTC 2014


----- Original Message -----
> From: "Gordon Ross" <gordon.w.ross at gmail.com>
> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
> Sent: Wednesday, November 12, 2014 7:15:03 PM
> Subject: Re: [OpenIndiana-discuss] ZFS ACLs - Cannot Write Microsoft Office Files over CIFS
> 
> There were some delete-on-close problems.  Not sure if this was caused
> by that...
> 
Gordon,

It appears to be caused by a failure to check the ACLs on the parent directory. In my test
case, the file was located at \test\testdir\file.docx. As part of the save process, Explorer
attempts to query the ACLs of the parent directory:
NT Create AndX Request, FID: 0x001f, Path: \test\testdir\
NT Trans Request, NT QUERY SECURITY DESC, FID: 0x001f
NT Trans Response, FID: 0x001f, NT QUERY SECURITY DESC, Error: STATUS_NONE_MAPPED

As soon as it receives STATUS_NONE_MAPPED as the error response, it immediately requests that
the temporary file it had created be deleted (using "delete on close") and aborts the save. 
By contrast, if this ACL lookup succeeds, it proceeds with the save (see my previous message).
Thus in this case it doesn't appear to be the "delete on close" that is the problem (also 
evidenced by the fact that the temp file is indeed gone after the operation finishes).

Do you have a list of commits or issues that could be related to this problem?

Thanks,

Andrew



More information about the openindiana-discuss mailing list