[wellylug] Weird samba + mod date/create date issue

Nigel Roberts nigel at nobiscuit.com
Tue Oct 5 17:23:08 NZDT 2004


Here's a curly one.

I have a share mounted via smbfs on my linux desktop. This share is on
a NetApp filer somewhere, but I've also tried this on a an old linux
server as well. Basically, since day light savings came into effect,
any file I create on the share gets a time creation timestamp that is
way out (approximately 12 hours and 48 minutes behind). This really
confuses applications that rely on these times, such as emacs.

If I create a file on the local file system, it get's the correct date.

Here's an example:

first local:

$ date && touch new && ls -l new
Tue Oct  5 17:18:41 NZDT 2004
-rw-r--r--  1 nigelr nigelr 0 2004-10-05 17:18 new
$

and then the remote samba share:

$ date && touch new && ls -l new
Tue Oct  5 17:17:22 NZDT 2004
-rwxr--r--  1 nigelr nigelr 0 2004-10-05 04:30 new
$

The date on both the servers are correct as they are using the same
time source as my desktop. If I create a file using windows to access
the share, it get's the correct date (and it reads as the correct date
using linux as well).

Anyone seen anything like this before? Any suggestions?


Regards,
Nigel




More information about the wellylug mailing list