ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vyacheslav Brunev <bv@gres.tomske.elektra.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] vsftpd и chown?
Date: Thu, 15 May 2008 08:28:49 +0700
Message-ID: <200805150828.49422.bv@gres.tomske.elektra.ru> (raw)
In-Reply-To: <20080514101642.GF3644@borodin.zarya>

В сообщении от Wednesday 14 May 2008 17:16:42 Andrew Borodin написал(а):

> Откуда вы знаете, если ничего закачать на сервер не получается?
Проверил опытным путём:
chmod 3777 /var/ftp/upload
создал директорию и посмотрел кто владелец.
Подобные вопросы не по существу оставлю без внимания.

> Вы же сами пишете:
> > drwxrwsr-t 10 ftp  ftpadmin 4096 Май 14 08:55 upload
> >
> > как здесь видно владелец директоии пользователь ftp со всеми
> > необходимыми правами, но закачать в эту директорию анонимам
> > не получается т.к. vsftpd не подменяет пользователя на ftp, а
> > льёт от имени пользователя vsftpd
>
> У вас пользователь vsftpd не имеет доступа на запись в каталог
> uploads.
Я и не собираюсь его делать. Всё должно работать с пользователем ftp, а все остальные - в топку.

>
> А что каксается chown_uploads, то в русском переводе man
> vsftpd.conf описание опции звучит так:
>
> http://www.opennet.ru/base/net/vsftpd_overview.txt.html
>
> chown_uploads
> Если включить, у всех анонимно закачанных файлов на сервер будут
> изменены владельцы на  пользователя в указанного в
> chown_username.
>
> Т. е. чтобы изменить владельца файла, файл сначала надо закачать.
Нет. Если бы было так как вы описываете, то о высокой секъюрности не шло бы речи вообще т.к. vsftpd запускается с 
привилегиями суперпользователя, а в директории есть права +x.

Ладно, раз никто не знает или не сталкивался.. пойду жаловаться в багзиллу сборщику.

-- 
С уважением, Вячеслав.

  reply	other threads:[~2008-05-15  1:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  2:16 Vyacheslav Brunev
2008-05-14  5:52 ` Andrew Borodin
2008-05-14  9:02   ` Vyacheslav Brunev
2008-05-14  9:17     ` Andrew Borodin
2008-05-14  9:44       ` Vyacheslav Brunev
2008-05-14 10:16         ` Andrew Borodin
2008-05-15  1:28           ` Vyacheslav Brunev [this message]
2008-05-19  5:39             ` Vyacheslav Brunev

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=200805150828.49422.bv@gres.tomske.elektra.ru \
    --to=bv@gres.tomske.elektra.ru \
    --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