You are not logged in.

#1 2009-03-05 10:17:47

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

vsftpd root dir

I wan to set the root dir for the ftp server to /srv/ftp instead of the home dir of that user and want to allow anonymous access. I want to run a local ftp server for testing some app. Is there a easier alternative to vsftp.

Offline

#2 2009-03-05 10:48:57

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: vsftpd root dir

I think vsftpd is a perfect mix of simplicity and possibilities.

Look at the entry in the Wiki and you see some hints. The options:

- create a unique user
- make that user the sole owner of /srv/ftp
- in the vsftpd.conf set it to chrooted and define the name of the user

To allow anonymous access isn't an issue. What you have to decide though is whether access includes rights to create directories and upload files (to upload anonymously is probably not such a good idea, if you don't implement some kind of quota).

Offline

#3 2009-03-05 13:29:20

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: vsftpd root dir

I followed the wiki and now the root dir is srv/ftp but I want to completely disable to browsing of my home dir when i login with my system login, i want to disable all user except for virtual one

Offline

#4 2009-03-05 14:15:15

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: vsftpd root dir

try set local_enable=NO

Offline

Board footer

Powered by FluxBB