dates screwed up, help!

Massimo Pinto pinto at graylab.ac.uk
Wed Sep 22 10:48:40 GMT 1999


Hi, the problem I am reporting relates to RH Linux 6.0
I have successfully mounted a disk from a windows NT server machine,
using smbmount as follows:

$ smbmount //machine/service -c 'mount /mnt/NTgroups -u local_owner' -U
remote_username

and everything looked fine. Now I have just noticed that when "touching"
or creating files everything behaves strangely, that is the date is not
created as it should.

In the remote directory, I have some cpp files created and the related
executable. All this was done in September, but have a look at heir
dates:


 [massimo, Random Breakage (545)]$ ls -l prova*
 -rwxr-xr-x   1 massimo  root        18456 Mar 15  2031 prova
 -rwxr-xr-x   1 massimo  root          946 Jun  9  2035 prova.cpp
 -rwxr-xr-x   1 massimo  root          945 Aug 15  1909 prova.cpp~
 -rwxr-xr-x   1 massimo  root         2544 Sep 22  1912 prova.o

Although the date looks fine.

 [massimo, Random Breakage (546)]$ date
 Tue Sep 21 17:25:22 BST 1999

Now if I touch a file:

 [massimo, Random Breakage (547)]$ touch prova
 [massimo, Random Breakage (548)]$ ls -l prova*
 -rwxr-xr-x   1 massimo  root        18456 Nov  4  1957 prova
 -rwxr-xr-x   1 massimo  root          946 Jun  9  2035 prova.cpp
 -rwxr-xr-x   1 massimo  root          945 Aug 15  1909 prova.cpp~
 -rwxr-xr-x   1 massimo  root         2544 Sep 22  1912 prova.o

The date assigned is completely screwed up. This does not happen on my
ext2 filesystem.

What is the step to take to fix the problem?

Thanks

Massimo



More information about the samba mailing list