Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with vsftpd
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
zeuz
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 140
Location: Sweden

PostPosted: Thu Sep 02, 2004 7:33 pm    Post subject: Problems with vsftpd Reply with quote

Just emerged vsftpd and it works fine except that you can browse any directory on the machine, how can i prevent this? I followed some parts of this guide: http://www.linuxhomenetworking.com/linux-hn/ftp-server.htm

Another thing, how can I get an upload directory where any users can upload and make folders but not delete any files/folders?
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Thu Sep 02, 2004 7:42 pm    Post subject: Reply with quote

See if you have these settings in /etc/vsftpd/vsftpd.conf

Code:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot


vsftpd.chroot.. should be blank.. or contain users that can go out of their home directory.

I hope this helps
hanji
Back to top
View user's profile Send private message
zeuz
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 140
Location: Sweden

PostPosted: Thu Sep 02, 2004 8:20 pm    Post subject: Reply with quote

That solved it, thanks! :-)

I will read/search some more and see if I can find a solution to the upload-folder problem...

Edit: Solved it as they did in the howto...
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