vfs_stat called but ignored when client has dir open

Jeremy Allison jra at samba.org
Mon Apr 23 12:41:32 MDT 2012

On Mon, Apr 23, 2012 at 11:00:25AM -0700, Andrew Klaassen wrote:
> I've got a VFS stat function that replaces the mtime on a directory with the mtime from another directory.  It works as designed except when the client has the directory open in another window.  In that case, the VFS function does the right thing, but its result is ignored and the client always gets the mtime that the directory had when the client first opened it.
> Is this a feature, a bug, or me screwing something up?

Try catching the VFS_FSTAT function as well as the VFS_STAT.

That might be the problem.


More information about the samba-technical mailing list