[linux-cifs-client] Re: POSIX Unlink and Query Unix File Info2

Jeremy Allison jra at samba.org
Fri Mar 9 21:47:53 GMT 2007


On Fri, Mar 09, 2007 at 03:44:47PM -0600, Steve French wrote:
> If server supports CIFS_UNIX_POSIX_PATHNAMES_CAP then
> SMB_POSIX_PATH_UNLINK MUST be available? or SHOULD be available?

Must.

> I saw a comment in your code indicating that this did an oplock break
> and is path only (not SetFileInfo).   Does this mean that if we have the
> file open on the client - there is a handle based way to get posix
> semantics on delete of a file ... seems like we must if the path based
> one should break oplock

Yes, that's the case.

> If server supports CIFS_UNIX_POSIX_PATHNAMES_CAP then
> SMB_QUERY_FILE_UNIX_INFO2 MUST be available? or SHOULD be available?

I think it's a should. James, George - comments ?

Jeremy.


More information about the linux-cifs-client mailing list