How to make timestamps on samba files set by server time, not
pfaff at edge.cis.McMaster.CA
Fri Mar 19 22:03:49 GMT 1999
will this not also change the timestamp on files that are opened for
reading only and then closed?
On Thu, 18 Mar 1999, Dan Kaminsky wrote:
> close command = touch %f
> Perfect timing! I hope %f operates correctly here, though...
> > We have a Samba server version 1.9.16p11 (yes, I know it's old) set up
> > on Solaris 2.5.1 which is accessed by a number of maverick PC's generally
> > running Windows '95 and sometimes NT.
> > We'd like to set things up so that when people put files or change
> > files on the solaris server the time reported is *not* the time given
> > by the PC which can be mucked around with. Instead we'd like the times
> > reported as given by our well-maintained server which has the correct
> > time. (And even if it doesn't that's the time we want to see.)
> > Can this be done? How? If it's possible to run a script after each
> > create or modification we could do something like issue a "touch"
> > command after every change. But perhaps there's a better solution.
> > Thanks.
Todd Pfaff \ Email: pfaff at mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University \
Hamilton, Ontario, Canada L8S 4M1 \
More information about the samba-technical