ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Второй сервер vsftpd на машине
Date: Sun, 29 May 2005 12:50:04 +0400
Message-ID: <200505291250.05193.lav@altlinux.ru> (raw)
In-Reply-To: <20050528221831.GB28889@basalt.office.altlinux.org>

On Sunday 29 May 2005 02:18, Dmitry V. Levin wrote:
> On Sat, May 28, 2005 at 10:24:32PM +0400, Vitaly Lipatov wrote:
> > Проблема: не могу заставить vsftpd обращаться к файлам
> > от имени другого пользователя.
>
> Mailing list mismatch?
Главное не в isp@ :) Тут хорошо бы сказать "куда". Я выбирал 
между sisyphus@ и bugzilla. и попал в devel@

> > Настроил второй vsftpd (только для локальной сети), а корень
> > для него указал тот же (/var/ftp). В /var/ftp есть каталог,
> > для которого нет прав чтения для всех. Соответственно через
> > первый vsftpd на него не зайти. Как сказать в конфиге vsftpd
> > работать под опр. пользователем?
>
> guest_username?
Насколько я понимаю, есть ftp_username, указывающий под каким 
пользователем работать при анонимном подключении.

Есть guest_username, который актуален при включенном guest_enable 
- все неанонимные логины (прошедшие авторизацию) работают под 
пользователем guest_username.

Так вот я указал
ftp_username=strange
guest_enable=yes
guest_username=strange

И есть каталог /var/ftp/strange:
drwxr-x---  11 strange strange 140 May 14 19:18 stange

При любом варианте логина (пользователем, анонимно) получаю:
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Transfer done (but failed to open directory).

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX!


  reply	other threads:[~2005-05-29  8:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 18:24 Vitaly Lipatov
2005-05-28 22:18 ` Dmitry V. Levin
2005-05-29  8:50   ` Vitaly Lipatov [this message]
2005-05-29 10:39     ` Dmitry V. Levin
2005-05-29 20:34       ` Vitaly Lipatov
2005-05-29 20:48         ` Dmitry V. Levin

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=200505291250.05193.lav@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=devel@altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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