Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Sat Feb 03, 2007 12:39 pm    Post subject: vsftpd permissions Reply with quote

Такая трабла получилась, настроил vsftpd все красиво и чудесно. Но когда я заливаю файлы в директорию uploads анонимусом, то получаю права на созданный файл 600. Когда заливаю юзером, то получаю 775, но не меняется владелец файла и группа получается ftp.
Собственно как сделать чтобы анонимусы писали с 775 правами и чтобы созданные файлы принадлижали юзеру ftpserg и группе ftpwrite?
Мой конф:
Code:
egrep -v "^#|^$" /etc/vsftpd/vsftpd.conf
listen=YES
listen_address=172.16.23.125
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=0002
anon_umask=0002
file_open_mode=0775
anon_upload_enable=YES
anon_world_readable_only=NO
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
dirmessage_enable=YES
connect_from_port_20=YES
chmod_enable=NO
chown_uploads=YES
chown_username=ftpserg
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.xfer.log
vsftpd_log_file=/var/log/vsftpd.log
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=ftpserg
ascii_upload_enable=NO
ascii_download_enable=NO
ftpd_banner=Welcome to CrazyNetwork FTP server.
convert_charset_enable=YES
local_charset=UTF8
remote_charset=WIN1251
user_config_dir=/etc/vsftpd/vusers
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
userlist_file=/etc/vsftpd/user_list
userlist_enable=YES
userlist_deny=NO
ls_recurse_enable=NO
setproctitle_enable=YES

Права на /home/ftp:
Code:
drwxrwxr-x   5 ftpserg ftpwrite      456 Фев  3 14:15 ftp

_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Fri Feb 09, 2007 3:57 pm    Post subject: Reply with quote

up :oops:
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum