From: spider <spider@lsi.bas-net.by>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] vsftpd: как подмонтировать каталог в /var/ftp/pub/ для анонимного доступа?
Date: Fri, 28 Oct 2005 17:43:12 +0400
Message-ID: <43622AF0.4000809@lsi.bas-net.by> (raw)
In-Reply-To: <ba4be29d0510280658v4c688bd4g@mail.gmail.com>
Eugene Seppel пишет:
>>Есть раздел, на нем каталог с файлами. Как этот каталог подцепить для
>>анонимного доступа в дерево /var/ftp/pub?
>
> /etc/fstab:
> /mnt/win_d/distrib /var/ftp/pub/distrib none bind 0 0
результат с /etc/fstab идентичен тому, если бы я набрал руками
# mount --bind /mnt/hda7/info /var/ftp/pub/info
Т.е. до выполнения mount я вижу каталог info
ftp> ls
227 Entering Passive Mode (127,0,0,1,27,242)
150 Here comes the directory listing.
drwxrwsr-x 2 0 0 4096 Oct 28 14:30 info
226 Directory send OK.
ftp>
и могу посмотреть
ftp> ls info
227 Entering Passive Mode (127,0,0,1,119,15)
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 2434 May 25 09:49 DIR_COLORS.pub
-rw-r--r-- 1 0 0 2434 May 25 09:49 DIR_COLORS.xterm
226 Directory send OK.
ftp>
После mount я уже не вижу каталога info
ftp> ls
227 Entering Passive Mode (127,0,0,1,148,159)
150 Here comes the directory listing.
226 Directory send OK.
и
ftp> cd info
550 Failed to change directory.
ftp>
Если каталог info лежит на том же девайсе, где лежит var/ftp/pub/, все
монтируется и доступно анониму.
next prev parent reply other threads:[~2005-10-28 13:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 12:52 spider
2005-10-28 13:58 ` Eugene Seppel
2005-10-28 13:43 ` spider [this message]
2005-10-28 20:47 ` Motsyo Gennadi aka Drool
2005-10-28 17:06 ` spider
2005-10-29 3:45 ` Dmitriy Khanjin
2005-10-31 8:58 ` spider
2005-10-31 18:18 ` Pavel Usischev
2005-11-01 4:20 ` Dmitriy Khanjin
2005-11-01 15:36 ` spider
2005-11-02 4:18 ` Dmitriy Khanjin
2005-11-02 16:27 ` spider
2005-11-03 5:03 ` Dmitriy Khanjin
2005-11-03 7:19 ` [Comm] " Michael Shigorin
2005-11-03 16:05 ` [Comm][JT] " Dmitriy Khanjin
2005-11-03 9:27 ` [Comm] " Gleb Kulikov
2005-11-03 16:05 ` Dmitriy Khanjin
2005-10-29 3:52 ` Dmitriy Khanjin
2005-10-28 14:14 ` Sergey Vlasov
2005-10-28 17:25 ` spider
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=43622AF0.4000809@lsi.bas-net.by \
--to=spider@lsi.bas-net.by \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git