Torquil Macdonald Sørensen <[EMAIL PROTECTED]> writes:

> TZ=CEST didn't have any effect, and /etc/timezone contains a 
> line "Europe/Oslo" which is correct.

Did you export it?

>
> I have found the problem now by comparing the strace output from the date 
> command running as root and as tmac. The problem was that only root had read 
> access to the file /etc/localtime. After enabling read access for others it 
> now works correctly also for 'tmac'.
>
> I am not exactly sure, but the problem may have started when I tried to 
> adjust 
> the time using KDE.
>
> Many thanks for your kind assistance, Matthias!

No problem.

Sometimes all you need is someone to help you to keep thinking about
your problem.

Matthias

  • Re: Date problem Matthias Julius

Reply via email to