[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Time offset
From: |
Arnar Birgisson |
Subject: |
Time offset |
Date: |
Sat, 26 Apr 2003 18:31:19 -0000 |
Hello..
I'm having some trouble with touch 4.1. It seems that when in a certain
directory, touching a file sets the file timestamp to the time five
minutes ago (with no arguments). This doesn't happen all the time
though, only in some directories. To illustrate the problem, consider
the following:
address@hidden:~/workdir/stmvefur/sql$ touch --version
touch (fileutils) 4.1
Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and
Randy Smith.
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
address@hidden:~/workdir/stmvefur/sql$ ll foo
-rw-r--r-- 1 arnarb users 0 Apr 26 17:04 foo
address@hidden:~/workdir/stmvefur/sql$ date && touch foo && ll foo
Sat Apr 26 18:33:28 GMT 2003
-rw-r--r-- 1 arnarb users 0 Apr 26 18:28 foo
address@hidden:~/workdir/stmvefur/sql$ pushd /tmp
/tmp ~/workdir/stmvefur/sql
address@hidden:/tmp$ ll foo
-rw-r--r-- 1 arnarb users 0 Apr 26 16:44 foo
address@hidden:/tmp$ date && touch foo && ll foo
Sat Apr 26 18:33:43 GMT 2003
-rw-r--r-- 1 arnarb users 0 Apr 26 18:33 foo
address@hidden:/tmp$ popd
~/workdir/stmvefur/sql
address@hidden:~/workdir/stmvefur/sql$
Touch works correctly when under /tmp, but in ~/workdir/stmvefur/sql it
sets the time incorrectly.
Following is my environment, if theres anything there that I didn't spot
declare -x ANT_HOME="/usr/local/ant"
declare -x CPLUS_INCLUDE_PATH="/usr/lib/qt-3.0.4/include"
declare -x DISPLAY="kassi:0.0"
declare -x HOME="/home/arnarb"
declare -x HOSTNAME="kassi.oddi.is"
declare -x JAVA_HOME="/usr/j2sdk"
declare -x KDEDIR="/opt/kde"
declare -x LC_ALL="POSIX"
declare -x LESS="-M"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="arnarb"
declare -x
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:c
d=40;33;01:or=40;31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bt
m=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lz
h=01;31:*.zip=01;31:*.bz2=01;31:*.rpm=01;31:*.deb=01;31:*.z=01;31:*.Z=01
;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;
35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.mov=01;
37:"
declare -x LS_OPTIONS=" --color=auto -F -b -T 0"
declare -x MAIL="/var/mail/arnarb"
declare -x
MANPATH="/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/qt-3.0.4/doc/ma
n:/usr/share/texmf/man"
declare -x MINICOM="-c on"
declare -x OLDPWD="/tmp"
declare -x
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/j2sdk/
bin:/usr/local/ant/bin:/usr/local/pgsql/bin:/opt/www/htdig/bin:/opt/kde/
bin:/usr/lib/qt-3.0.4/bin:/usr/share/texmf/bin:.:/home/arnarb/bin"
declare -x PS1="address@hidden:\\w\\\$ "
declare -x PS2="> "
declare -x PWD="/home/arnarb/workdir/stmvefur/sql"
declare -x QTDIR="/usr/lib/qt-3.0.4"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/tmp/ssh-XX326qGp/agent.31732"
declare -x SSH_CLIENT="10.9.200.26 1396 22"
declare -x SSH_TTY="/dev/pts/2"
declare -x T1LIB_CONFIG="/usr/share/t1lib/t1lib.config"
declare -x TERM="linux"
declare -x USER="arnarb"
declare -x ftp_proxy="proxy.oddi.is:8080"
declare -x http_proxy="proxy.oddi.is:8080"
declare -x no_proxy="localhost"
Any ideas?
Arnar
- Time offset,
Arnar Birgisson <=