Hi,
I thing I might be onto something:
when I do an ls -l in some directory, I get:
root@muur:/usr/local/etc# ls -l /data2/backup/
total 446036
-rw-r--r-- 1 root root 209975 Dec 2 01:12 backup.log.bz2
-rw-r--r-- 1 root root 269022417 Dec 2 01:12 data.tar.bz2
-rw-r--r-- 1 root root 6651 Dec 2 01:12 data2.tar.bz2
-rw-r--r-- 1 root root 39717149 Dec 2 00:15 root.tar.bz2
-rw-r--r-- 1 root root 147302102 Dec 2 00:44 usr.tar.bz2
If I connect with ftp to that machine and do
the ls in the same dir, I get:
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
-rw-r--r-- 1 root root 209975 Dec 2 00:12 backup.log.bz2
-rw-r--r-- 1 root root 269022417 Dec 2 00:12 data.tar.bz2
-rw-r--r-- 1 root root 6651 Dec 2 00:12 data2.tar.bz2
-rw-r--r-- 1 root root 39717149 Dec 1 23:15 root.tar.bz2
-rw-r--r-- 1 root root 147302102 Dec 1 23:44 usr.tar.bz2
Dec 1! that's different from what the ls gives me!
I mount /data2 as ext3 (fstab: /dev/hda6 /data2 ext3 defaults
0 0),
nothing fancy.
Bug? Or am I ignorant?
Folkert van Heusden
http://www.vanheusden.com/Linux/kernel_patches.php3
"Folkert van Heusden" <[email protected]> writes:
|> Bug? Or am I ignorant?
Check out the timezone.
Andreas.
--
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N?rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
|> Bug? Or am I ignorant?
A> Check out the timezone.
Not set, as far as I can see: date says they're both in
CET (central european time?).
Also: both machines sync themselves against the same NTP-
server.
folkert@muur:~$ date
Mon Dec 2 22:32:01 CET 2002
folkert@keetweej:~/website/current/web$ date
Mon Dec 2 22:32:05 CET 2002
(yeah, it took 4 seconds to switch from `muur' to `keetweej' :-])
"Folkert van Heusden" <[email protected]> writes:
|> |> Bug? Or am I ignorant?
|> A> Check out the timezone.
|>
|> Not set, as far as I can see: date says they're both in
|> CET (central european time?).
But your ftp server obviously uses a different time zone. Probably it
just uses UTC because it does not know better.
Andreas.
--
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N?rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."