I am using a Samba 3.0.21a share to centrally access my source code from multiple Windows workstations. Everything works as expected (in Samba), but there is a slight (but annoying) problem with the modification timestamp of the files on the Samba share. While I have verified that both server and workstation are synchronized to the same time (using NTP), it seems that there is a few milliseconds skew that Samba introduces which is enough to confuse the build utility and causes it to ignore certain dependencies. I am saying "that Samba introduces" because when the files are stored locally (i.e. on the hard drive), the problem does not exist. You can read more about it here: http://tinyurl.com/27dxe2 Is this "modification timestamp" problem a known one? Or am I the first to experience it? If it is know, has it been fixed? If not fixed, is there a workaround I can use (short of working locally on the hard drive)? Thanks, Victor
On 7/31/07, Victor Cicero <vc6vc6@gmail.com> wrote:> Is this "modification timestamp" problem a known one? Or am I the > first to experience it? If it is know, has it been fixed? If not > fixed, is there a workaround I can use (short of working locally on > the hard drive)?Samba has two timestamp options in smb.conf that are supposed to help with this sort of problem: "dos filetime resolution" and "fake directory create times". Have you tried enabling those options? Josh Kelley
On 8/1/07, Josh Kelley <joshkel@gmail.com> wrote:> On 7/31/07, Victor Cicero <vc6vc6@gmail.com> wrote: > > Is this "modification timestamp" problem a known one? Or am I the > > first to experience it? If it is know, has it been fixed? If not > > fixed, is there a workaround I can use (short of working locally on > > the hard drive)? > > Samba has two timestamp options in smb.conf that are supposed to help > with this sort of problem: "dos filetime resolution" and "fake > directory create times". Have you tried enabling those options? > > Josh Kelley >On 8/2/07, James R Grinter <james.grinter@uk.nomura.com> wrote:> You may get some benefit from a later Samba. They've changed > the file timestamp resolution (to include more than just > to the nearest second) in later versions. > > James. >Josh and James, thank you for your tips. I first tried the "dos filetime resolution" option. It didn't help. I then updated my Samba installation from 3.0.21a to 3.0.23a (that's the most my Fedora Core 4 would allow using yum). That didn't help either. Any other ideas? Thanks, Victor