Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd | user rights [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crushone
n00b
n00b


Joined: 08 Sep 2005
Posts: 4

PostPosted: Sat Sep 10, 2005 2:56 am    Post subject: vsftpd | user rights [solved] Reply with quote

Im working a few days with vsftpd right now. And everything runs fine except 1 minor problem:

When I do a ftp-login and upload a file it gets 600 rights. So I have to manually adjust it
What should I do to get 755 as a standard?


Code:
*  net-ftp/vsftpd
      Latest version available: 2.0.3-r1
      Latest version installed: 2.0.3-r1
      Size of downloaded files: 149 kB
      Homepage:    http://vsftpd.beasts.org/
      Description: Very Secure FTP Daemon written with speed, size and security in mind
      License:     GPL-2


vsftpd.conf
Code:
# Standalone mode
listen=YES
background=YES
max_clients=200
max_per_ip=4
# Access rights
nopriv_user=ftp
chroot_list_enable=NO
chroot_local_user=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
# Security
anon_world_readable_only=YES
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
# Features
dirmessage_enable=YES
banner_file=/etc/vsftpd/vsftpd.banner
xferlog_enable=YES
xferlog_file=/var/log/vsftpd/vsftpd.log
ls_recurse_enable=NO
ascii_upload_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
# Performance
one_process_model=NO
idle_session_timeout=600
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000


fstab
Code:
/var/www/localhost/htdocs       /home/ftp/www   auto    bind,noatime            0 0


Last edited by crushone on Sat Sep 10, 2005 2:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Sat Sep 10, 2005 11:49 am    Post subject: Reply with quote

I think you need this line in /etc/vsftpd/vsftpd.conf:
Quote:
local_umask=022
Back to top
View user's profile Send private message
crushone
n00b
n00b


Joined: 08 Sep 2005
Posts: 4

PostPosted: Sat Sep 10, 2005 2:04 pm    Post subject: Reply with quote

oumpah-pah wrote:
I think you need this line in /etc/vsftpd/vsftpd.conf:
Quote:
local_umask=022


Thats it... thank u m8
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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