Saratov Linux User Group
 help / color / mirror / Atom feed
From: solmin <solmin@mail.ru>
To: Saratov Linux User Group Maillist <sarlug@lists.lug.ru>
Subject: Re: [Sarlug] ftpd ls время создания файла
Date: Wed, 18 Jun 2008 17:10:55 +0400
Message-ID: <5810003166.20080618171055@mail.ru> (raw)
In-Reply-To: <48590270.2070008@gmail.com>

Здравствуйте, Nikita.

Вы писали 18 июня 2008 г., 16:41:20:

> Похоже, проблема с тайм-зоной - ssh показывает время в локальной, а ftpd
> - в Гринвичской. У него никакой настроички на эту тему нет? (sorry, с 
> *BSD практически не знаком)

> С уважением,

Угу, именно с тайм-зоной.
Там вот в чем дело как оказалось.
Если в корне /home каталога куда chroot-ится пользователь сделать
каталог etc и скопировать туда файл /etc/localtime то ftpd время
начинает показывать правильно. 

Но не будешь же для каждого пользователя это делать, тем более у
пользователей разные /home каталоги
Есть вроде еще один выход сделать запуск ftpd с экспортом переменной
TZ, только как...
ftpd работает не демоном, стартует из inetd.conf вот такой строкой:
ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l -l

попробвал прописать в /etc/profile строку
TZ=MSD; export TZ
результата не дало. В общем пока проблема не решена. Жду советов =)

-- 
С уважением,
 solmin                          mailto:solmin@mail.ru



  reply	other threads:[~2008-06-18 13:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 10:38 Солмин Владимир
2008-06-18 12:41 ` Nikita V. Borodikhin
2008-06-18 13:10   ` solmin [this message]
2008-06-18 13:24     ` Nikita Borodikhin
2008-06-18 14:27       ` solmin
2008-06-18 15:49         ` Nikita Borodikhin
2008-06-18 19:09           ` [Sarlug] ftpd ls ^[$B'S'b'V'^'q^[(B ^[$B'c'`'Y'U'Q'_'Z'q^[(B ^[$B'f'Q'[^[(B^[$B']'Q^[(B Michael Zherebin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5810003166.20080618171055@mail.ru \
    --to=solmin@mail.ru \
    --cc=sarlug@lists.lug.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sarlug


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git