View previous topic :: View next topic |
Author |
Message |
crushone n00b
Joined: 08 Sep 2005 Posts: 4
|
Posted: Sat Sep 10, 2005 2:56 am Post subject: vsftpd | user rights [solved] |
|
|
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 |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Sat Sep 10, 2005 11:49 am Post subject: |
|
|
I think you need this line in /etc/vsftpd/vsftpd.conf:
|
|
Back to top |
|
|
crushone n00b
Joined: 08 Sep 2005 Posts: 4
|
Posted: Sat Sep 10, 2005 2:04 pm Post subject: |
|
|
oumpah-pah wrote: | I think you need this line in /etc/vsftpd/vsftpd.conf:
|
Thats it... thank u m8 |
|
Back to top |
|
|
|