From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] proftpd и время изменения файлов
Date: Wed, 16 May 2007 18:11:39 +0400
Message-ID: <20070516141139.GA5401@basalt.office.altlinux.org> (raw)
In-Reply-To: <20070516134627.GA26930@lks.home>
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
Hi,
On Wed, May 16, 2007 at 05:46:27PM +0400, Konstantin A. Lepikhov wrote:
> Wednesday 16, at 04:28:42 PM you wrote:
>
> <skip>
> > [root@gw ftp]$ date
> > Wed May 16 16:25:40 MSD 2007
> > [root@gw ftp]# l
> > total 0
> > drwxr-sr-x 4 root ftpadmin 39 Apr 15 14:12 aids
> > drwxrwsr-x 2 ftpadmin ftpadmin 24 Mar 23 2005 cert
> > drwxrwsr-x 12 ftpadmin ftpadmin 151 Feb 8 21:47 distrib
> > drwxr-sr-x 3 ftpadmin ftpadmin 23 Jan 25 2006 pictures
> > drwxr-sr-x 2 ftpadmin ftpadmin 19 Apr 30 09:22 temp
> > [root@gw ftp]# ftp ftp.ystu.ru
> > Connected to ftp.ystu.ru (85.158.50.46).
> > 220 ProFTPD 1.3.0 Server (YSTU FTP Server) [85.158.50.46]
> > Name (ftp.ystu.ru:root): anonymous
> > 331 Anonymous login ok, send your complete email address as your password.
> > Password:
> > 230 Anonymous access granted, restrictions apply.
> теперь все понятно - я тут поглядел код proftpd, он как всегда там
> кривоватый - для анонимусов там делается chroot, а поскольку glibc не
> кеширует содержимое /etc/localtime, внутри chroot время получается в GMT.
> Можно на досуге поправить, взяв за основу пример из vsftpd.
См. тж.
http://git.altlinux.org/people/ldv/packages/?p=vsftpd.git;a=blob_plain;f=vsftpd-2.0.3-suse-owl-tz.patch;hb=2.0.3-alt1
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-05-16 14:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 21:24 Шадринов Дмитрий Дмитриевич
2007-05-16 7:19 ` Sergey
2007-05-16 12:01 ` Konstantin A. Lepikhov
2007-05-16 12:28 ` Dmitriy Shadrinov
2007-05-16 13:46 ` Konstantin A. Lepikhov
2007-05-16 14:01 ` Sergey
2007-05-16 14:16 ` Konstantin A. Lepikhov
2007-05-16 14:11 ` Dmitry V. Levin [this message]
2007-05-16 14:51 ` Konstantin A. Lepikhov
2007-05-16 14:58 ` Sergey
2007-05-16 15:13 ` Konstantin A. Lepikhov
2007-05-16 15:59 ` Sergey
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=20070516141139.GA5401@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/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
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git