From: Andrew Borodin <borodin@zarya-k.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] vsftpd и chown? Date: Wed, 14 May 2008 09:52:50 +0400 Message-ID: <20080514055250.GA3644@borodin.zarya> (raw) In-Reply-To: <200805140916.03837.bv@gres.tomske.elektra.ru> On Wed, May 14, 2008 at 09:16:03AM +0700, Vyacheslav Brunev wrote: > Решил испробовать vsftpd из репозитория АЛЬТ 4.0 branch и > столкнулся с проблемой. VSFTPD вообще не реагирует на > инструкции в конфигурационном файле: > chown_uploads=YES > chown_username=ftp. > Поясню, у меня для закачки пользователям anonymous выделена директория "upload": > ls -la /var/ftp/ | grep upload > drwxrwsr-t 10 ftp ftpadmin 4096 Май 14 08:55 upload > как здесь видно владелец директоии пользователь ftp со всеми > необходимыми правами, но закачать в эту директорию анонимам не > получается т.к. vsftpd не подменяет пользователя на ftp, а льёт > от имени пользователя vsftpd никак не реагируя на > опции в своём-же конфиге. Мне кажется, вы ждёте от опции chown_username не совсем того, для чего она предназначена: chown_username This is the name of the user who is given ownership of anonymously uploaded files. This option is only relevant if another option, chown_uploads, is set. То есть vsftpd изменяет владельца файла после закачки, а не закачивает от имени другого пользователя. -- С уважением, А. Бородин.
next prev parent reply other threads:[~2008-05-14 5:52 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 [this message] 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 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=20080514055250.GA3644@borodin.zarya \ --to=borodin@zarya-k.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