How to make timestamps on samba files set by server time, not PC time.

Andy Bakun abakun at
Thu Mar 18 17:32:15 GMT 1999

Dan Kaminsky wrote:

> close command = touch %f
> Perfect timing!  I hope %f operates correctly here, though...

You might need to use close command = touch "%p/%f".  Remember that %f doesn't
include the full path, just the path anchored from the share's path.

I suggest the quotes because of the nasty habit windows users have of putting
spaces in the file names.

More information about the samba-technical mailing list