VSFTPD ("Very Secure FTP Daemon") is an FTP server for Unix-like systems, including Linux.

learn more… | top users | synonyms

19
votes
5answers
95k views

How to create a FTP user with specific /dir/ access only on a Centos / linux installation

So I'm on a VPS - CentOS Linux installation. I have vsFTPd on the server. I currently have SFTP access to the server via my root user, but am now trying to create a new user with FTP access to a ...
16
votes
3answers
51k views

Iptables to allow incoming FTP

I want to allow incoming FTP traffic. CentOS 5.4: This is my /etc/sysconfig/iptables file. # Generated by iptables-save v1.3.5 on Thu Oct 3 21:23:07 2013 *filter :INPUT ACCEPT [0:0] :FORWARD ...
12
votes
4answers
85k views

Limit FTP access only to the /var/www with vsftpd

I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user. I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish ...
8
votes
2answers
9k views

ls command in ftp> not working!

I was practicing ftp but faced an issue: ls command isn't working on ftp> . Why? I checked on 2 remote servers but ls didn't work on either and gave different output when ls was executed. Please see ...
5
votes
4answers
23k views

What are the settings to correct vsftpd “500 OOPS: cannot change directory” error?

My question is what settings do I need to change and/or commands to run to allow me to log into my vsftpd system? I am getting this error, when I login using ftp instead of sftp: Name ...
5
votes
4answers
653 views

Allowing rename but not moving to other directory

Users can upload/delete/rename files via vsftp server and everything works well except they can also move files across directories. Is it possible to allow renaming of files but disallow moving them ...
4
votes
1answer
3k views

What is meant by “Unknown instance” when restarting a service?

I am trying to get vsftpd file server running on Ubuntu 13.10, I'm unable to connect to the server from another network, although this other network is connected to the server's network and ping is ...
4
votes
1answer
1k views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
3
votes
1answer
2k views

Why can't anonymous users delete files via ftp?

I've created a new directory "uploads" in /var/ftp. The owner and group of this directory is "ftp" and the permissions are set to 777. Content of my vsftpd.conf file: anonymous_enable=YES ...
3
votes
5answers
6k views

A secure way to confine FTP login users to a single directory

I needed to provide multiple users FTP logins, some able to write, some only to read, to a single FTP root directory. I very much wanted that they not see of the file system anything above that ...
3
votes
1answer
592 views

Proper way to handle FTP over SSL with restrictive firewall rules?

Without SSL, FTP works fine over a stateful Firewall, like netfilter (iptables) + the nf_conntrack_ftp kernel module like this: # modprobe nf_conntrack_ftp # iptables -A INPUT -m conntrack --ctstate ...
3
votes
2answers
6k views

CentOS 6 VSFTP 553 Could not create file

I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error: 553 Could not create file After ...
3
votes
2answers
4k views

getting 553 - cannot create file in vsftpd (ubuntu 12.04)

I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser I've set up the account with username 'myuser' in Linux with the adduser command. After that, I've ...
2
votes
4answers
4k views

I uninstalled vsftpd, but I can still connect with sftp

I installed vsftpd and was in the process of configuring it. When I sent the vsftpd server stop command: sudo service vsftpd stop I received: stop: Unknown instance So I went ahead and ...
2
votes
1answer
3k views

priv_sock_get_cmd error with vsftpd

I've installed vsftpd on my local system. When trying to connect to it using filezilla I get following error: Status: Connection established, waiting for welcome message... Response: 500 OOPS: ...
2
votes
1answer
329 views

vsFTPd Browser no Listing

I'm trying to access my ftp server through the browser but I am facing an issue. If I access it using Filezilla, I can see the directories fine. However using a browser I get no directory listing as ...
2
votes
2answers
1k views

Does vsftpd support plain FTP?

I have been able to set up a SFTP server using vsftpd on Ubuntu 14.04. However, I want to experiment with plain (unencrypted) FTP to see the unencrypted packets using wireshark. To set up the SFTP ...
2
votes
1answer
6k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
2
votes
2answers
8k views

“sudo service vsftpd” returns “Unknown job: vsftpd” [closed]

I installed vsftpd on ubuntu 14.04 and when I want to stop or restart vsftpd service this message showed and nothing happened in service status! root@ali-lap:/home/ali# service vsftpd restart stop: ...
2
votes
1answer
166 views

dyanamically creating directories with pam_mkhomedir and mysql for vsftpd

I'm a Linux noob, so hopefully someone will be able to help me to get this up and running. I've installed vsftpd using the following instructions ...
2
votes
1answer
286 views

Set group ownership on FTP upload via an ACL

I am interested in setting an ACL which will chown all the files I upload through FTP to the www-data group. However, after performing chown -R user:www-data /var/www/website.com/public_html/ ...
2
votes
1answer
2k views

Cent OS + VSFTP, 553 could not create file, how to allow uploading of files?

I have a ftp server running on Cent OS VM. the goal: public map can be seen by everyone (readonly for anonymous users, write for logged in users) upload map can only be seen by local users logged ...
2
votes
1answer
644 views

vsftpd - how to allow user to delete files added by another user/group

I have 2 CentOS servers, A and B A, our live server, has an instance of Apache Tomcat running, that downloads files from an external FTP server. After it has downloaded these files, it also copies ...
2
votes
1answer
838 views

Share a directory over FTP with chroot_local enabled

I'm using vsftpd. By default, when I create a user, they are jailed in their directory which is /home/user. I have enabled chroot_local_user=YES. On the other hand, I also wanted to create a shared ...
2
votes
1answer
2k views

Installing vsftpd on Ubuntu - could not bind listening IPv4 socket?

For my network security class I have to set up an FTP server on a virtual machine. We are set up with 3 VM's - Gateway, Client, and Server. I have installed vsftpd using the command: sudo apt-get ...
2
votes
1answer
3k views

vsftpd full anonymous access

I'm runnning vsftpd on Raspberry Pi, Debian 7.0. I want to use it to do backups in my Home-LAN only, so security is not an issue (behind NAT/Firewall, only trusted users). I would like full access as ...
2
votes
0answers
347 views

vsftpd: Passwordless authentication to different directory

I am configuring a vsftpd server and the requirements are: I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done) I ...
1
vote
2answers
8k views

How to configure SFTP so it behaves like ftp chrooting user to his home directory?

I have installed vsftpd utility on Fedora 10 to restrict users to their (chroot) home directories. It works fine when I use ftp prompt to connect. However it does not work when i connect using sftp. ...
1
vote
2answers
5k views

How can I get vsftpd version into shell variable?

I want to get vsftpd version into shell variable. I can get it to console with ease: # vsftpd -version vsftpd: version 2.2.2 Also I can get a lot of other info into variable: # i=`bash --version ...
1
vote
2answers
2k views

Disable operations outside user's home directory with chroot jail?

I'm trying to restrict a user to a specific directory called gclegal using a chroot jail. I've uncommented the line in the /etc/vsftpd.conf file chroot_local_user=YES Created a new user called kg: ...
1
vote
1answer
393 views

Configure vsftpd allow access to mounted ISO file

I am having problems to allow anonymous FTP access to a directory that mounted a ISO file. No change to /etc/vsftpd/vsftpd.conf RHEL 6.5 DVD ISO file saved to /var/ftp/pub/ISO/rhel6_5.iso ...
1
vote
1answer
91 views

vsftpd limit users to /home/user/minecraft

So using vsftpd I want to lock a user to /home/theirname/Minecraft. I can't change their home directory because a program I'm using(McMyAdmin) will try to reinstall itself but I don't want them having ...
1
vote
3answers
1k views

Configuring FTP server in redhat

I have installed vsftpd in redhat. Everything was file untill I fould that when I log into ftp server using: ftp localhost or fileZilla I get following errors: ERROR: - 500 OOPS: cannot change ...
1
vote
1answer
3k views

Jail only a specific user with vsftpd

I'm using both Redhat and CentOS. When I do followings: # vi /etc/vsftpd/vsftpd.conf chroot_local_user=YES # service vsftpd restart Then all users are jailed in their home directory. How can I ...
1
vote
1answer
459 views

vsftpd with email notification

It would be good if vsftpd has some kind of features that will send email notification if there are some one who are attempting to connect on ftp server and/or getting a lot of permission denied ...
1
vote
1answer
109 views

Right settings of vsftpd?

I installed vsftpd on Linux Mint, I changed some settings to the configuration file so it permits anonymous users, however I want to redirect them to a certain directory where they can upload files. ...
1
vote
1answer
772 views

Permisions overwritten when files are transfered via FTP. What to do?

Got my web server up and running using apache2 with the ability to ftp to /var/www folder. However, if I make an update to .html and copied over the file via ftp, the file's permisions become more ...
1
vote
2answers
47 views

SFTP server without root as owner of the user's folder?

I installed a SFTP server with SSH. But the chroot directory must be owned by root, then the user can't write on it. Is there any way to allow that user to write in its root directory? Thanks in ...
1
vote
2answers
104 views

FTP straight to directory, rather than making it relative to FTP users home directory?

I've set up an FTP server using vsftpd on a Centos 5.10 machine. This is my target directory on the server: /var/www/supercoolstuff I can connect from a Windows XP machine using WinSCP then ...
1
vote
1answer
26 views

File permissions on uploaded files

This is hopefully a simple question. I have a VPS set up running LAMP and accepting FTP connections. the only problem with my setup at the moment seems to be that apache is denied access to uploaded ...
1
vote
1answer
185 views

Problems creating nested directories in VSFTP on CENTOS7

So here at work, I was asked to migrate some of our services from Windows to Linux using free software, including for proxy, DNS, and FTP. I was also asked to try to avoid GUIs, so I went for CentOS ...
1
vote
1answer
78 views

How can a permission a directory so that a user can list the contents, but cannot read them

I am setting up a vstpd FTP server where people can upload files to be processed. I want them to be able to write and see the list of files, but not actually download them. I'm using virtual users ...
1
vote
1answer
271 views

Absolutely cannot get FTP access after adding many rules to iptables in CentOS5

I'm a complete noob and am just having the worst time trying to get FTP access to the server. I want to keep the firewall enabled. Edit: Updated the iptables information. I have the following ...
1
vote
3answers
3k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...
1
vote
1answer
1k views

Not able to deny selected local user to login ftp server

I added the below 2 lines in the end of the configuration file /etc/vsftpd.conf so as to deny a local user named 'tentenths' from loggin in the ftp server. I restarted the vsftpd service after the ...
1
vote
2answers
7k views

service vsftpd restart : not working

I edited /etc/vsftpd.conf on my remote server. Now to restart the vsftpd, I ran ravbholua@ravi:~$ sudo /etc/init.d/vsftpd restart [sudo] password for ravbholua: Rather than invoking init scripts ...
1
vote
1answer
11k views

vsftpd: 550 Failed to change directory

I'm using ubuntu 12.04. and ftp service I've installed vsftpd and it's working fine. But may I'm facing some user complexity. My system directory like: -/ --/home ----/rony --/vol When I list ...
1
vote
1answer
67 views

FTP user creates file that are not executable by apache

I am facing a little issue: I have created an FTP server with vsftp and a web server with Apache 2.2. Now, my goal is to make so that anyone can log into the machine via FTP and upload files (.html, ...
1
vote
1answer
1k views

Installing vsftpd - 500 OOPS: could not bind listening IPv4 socket?

I have to set up a FTP server on my machine. I have installed vsftpd using the command: sudo apt-get install vsftpd I then edited the configuration file vsftpd.conf in the location /etc. The file ...
1
vote
0answers
60 views

VSFTPD cutted uploads

Installed VSFTPD v2.3.2 on a Wheezy. When I try to put anything my ftp client (filezilla v3.5.3) it sends the file by parts of 229376 bytes interrupted by deconnexion/reconnexion untill the en of the ...