diff options
author | Jeremy Allison <jra@samba.org> | 2009-07-31 11:19:19 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-07-31 11:19:19 -0700 |
commit | 301be8c99b4646f0947ef94e12ffda433854b659 (patch) | |
tree | c2497121f08869342f6967aa91f4504f7523b008 | |
parent | d87e937518c0b4eaee15503ce243f6005130c610 (diff) | |
download | samba-301be8c99b4646f0947ef94e12ffda433854b659.tar.gz samba-301be8c99b4646f0947ef94e12ffda433854b659.tar.bz2 samba-301be8c99b4646f0947ef94e12ffda433854b659.zip |
We're not changing last write, but setting this to be FILE_NOTIFY_CHANGE_CREATION
doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix
bug #6529 - Offline files conflict with Vista and Office 2003.
Jeremy.
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 0daaf7c901..184a858097 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -5250,7 +5250,7 @@ NTSTATUS smb_set_file_time(connection_struct *conn, if ((timespec_compare(&ft->atime, &ats) == 0) && (timespec_compare(&ft->mtime, &mts) == 0)) { if (set_createtime || set_ctime) { - notify_fname(conn, NOTIFY_ACTION_MODIFIED, action, + notify_fname(conn, NOTIFY_ACTION_MODIFIED, FILE_NOTIFY_CHANGE_LAST_WRITE, smb_fname->base_name); } return NT_STATUS_OK; |