https://issues.apache.org/bugzilla/show_bug.cgi?id=46050





--- Comment #4 from Robert Seidel <[EMAIL PROTECTED]>  2008-10-23 06:54:19 PST 
---
Ok, let me tell you a little bit more about what is going on.

I have two directories production and development. If the development is tested
and everything is ok, then the two directories will be <sync>hed.
But some of the files in the production system are opened by some users (with
3rd party tools). Thats not really a problem, because the file handles are
Shared/Read (that means
File.Open (http://msdn.microsoft.com/de-de/library/y973b725(VS.80).aspx)
FileAccess.Read (http://msdn.microsoft.com/en-us/library/4z36sx0f(VS.80).aspx)
FileShare.ReadWrite
(http://msdn.microsoft.com/en-us/library/system.io.fileshare)
other requests can read/write the file). If I copy the directory with the
Windows Explorer, then the files are all overwritten and the target files have
the same lastmodified time stamp as the source files.

But when I use <sync> (maybe the same would happen with <copy>) the
lastmodified timestamp gets resfreshed for the files, the users have handles
on.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to