LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2005, 05:01 AM   #1
streptococcus
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
VSFTPD + permissions


hi,

i found lots of threads about VSFTPD, but nowhere is my problem mentioned,
i hope i can get some help:

i want that localusers can up- and download , i can login without problems
but viewing or browsing the folder doesnt works.

the local users have permisions for their home/dir (ofcause), still they cant view it or do anything with it !?

getting promped:

550 permisson denied

my vsftp.conf :
______________________________________________________________
########### LOGIN ##########

anonymous_enable=NO
local_enable=YES

userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO

chroot_list_enable=YES
chroot_local_user=NO
chroot_list_file=/etc/vsftpd.chroot_list

passwd_chroot_enable=YES
secure_chroot_dir=/usr/share/empty


########## PRIVILEGES ##########

cmds_allowed=GET,HELP,LS,STATUS,USER,PASV,RETR,QUIT

download_enable=YES

dirlist_enable=YES

write_enable=YES

chmod_enable=NO

anon_other_write_enable=NO
anon_mkdir_write_enable=NO
anon_upload_enable=NO
anon_world_readable_only=NO

ascii_upload_enable=NO
ascii_download_enable=NO

virtual_use_local_privs=NO


########## LOGS ##########

log_ftp_protocol=YES

xferlog_enable=YES
xferlog_std_format=YES

dual_log_enable=YES

vsftpd_log_file=/var/log/vsftpd.log

xferlog_file=/var/log/xferlog

syslog_enable=YES


########## CONFIGURATION ##########

pam_service_name=vsftpd

ftpd_banner=

###anon_root=/var/ftp/pub
###local_root=/var/ftp

anon_max_rate=50000
local_max_rate=50000

anon_umask=022
local_umask=077

file_open_mode=0666

data_connection_timeout=180
idle_session_timeout=300

max_clients=5
max_per_ip=1

trans_chunk_size=0

dirmessage_enable=NO

port_enable=YES
port_promiscuous=NO

connect_timeout=60

ftp_data_port=20
connect_from_port_20=YES

async_abor_enable=NO
check_shell=YES

background=YES

force_dot_files=NO

listen=YES
listen_ipv6=NO
listen_port=21

use_localtime=YES

chown_uploads=NO

one_process_model=NO

tcp_wrappers=YES

pasv_enable=NO

accept_timeout=60

setproctitle_enable=NO

text_userdb_names=NO

hide_ids=NO

use_sendfile=NO

ls_recurse_enable=NO

session_support=YES


############ SSL/TSL #################

ssl_enable=NO

allow_anon_ssl=NO

force_local_data_ssl=NO
force_local_logins_ssl=YES

ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO

rsa_cert_file=/usr/share/ssl/certs/vsftpd.pem

Last edited by streptococcus; 03-29-2005 at 05:03 AM.
 
Old 03-30-2005, 02:41 PM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Do you have both port 20 and 21 open? You might check to see if there is a passive ftp mode on their client and change that setting. Doesn't really seem like that would make a difference in this case, but you never know.
 
Old 03-30-2005, 06:21 PM   #3
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
are the users llisted in /etc/vsftpd.user_list and /etc/vsftpd.chroot_list ?

if not, add them
 
Old 03-30-2005, 11:27 PM   #4
selfxplanatory
LQ Newbie
 
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
*haha* nevermind, that was the most mindless tip I ever gave.. as soon as it posted I was like "What duh?!"

Good luck

Last edited by selfxplanatory; 03-31-2005 at 02:00 AM.
 
Old 04-11-2005, 08:48 AM   #5
killahsmurf
Member
 
Registered: Mar 2005
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
i think im actually going to steal your format for the vsftpd.conf. that way looks far better than than the stock version
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPd upload permissions critical Linux - Software 3 08-03-2005 02:03 AM
VSFTPD, user permissions oily_rags Linux - Networking 10 09-25-2004 04:24 PM
vsftpd - permissions foxbat77 Linux - Networking 1 09-04-2004 03:28 AM
VSFTPD Permissions R4z0r Linux - Security 2 08-21-2004 11:27 AM
vsftpd and file/directory permissions dynamo|x Linux - Security 7 06-01-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration