Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [vsftpd]

vsftpd is an FTP server for UNIX systems, including Linux.

20
votes
1answer
12k views

The @ symbol and systemctl and vsftpd

I have a two part question. What is the significance of the @ symbol in systemctl scripts? How to start vsftpd in fedora 16, (which in some tutorials seems to contain an @ in it's name)? I ...
9
votes
3answers
15k views

How does local_umask and file_open_mode work?

I had some problems with the filepermissions when local users uploaded their files via vsftp to a server. I wanted the files to have all 766 permissions. After a lot of trial and error I found out ...
8
votes
3answers
16k views

vsftpd: 500 OOPS: prctl PR_SET_SECCOMP failed

I have an issue with vsftpd. When I connect to my FTP server via FileZilla I get the error: 500 OOPS: prctl PR_SET_SECCOMP failed Error: Critical error Error: Could not connect to server ...
7
votes
3answers
10k views

Why won't vsftpd let me log in with a virtual user account?

I would like to use vsftpd with virtual users and pam_pwdfile.so. I installed vsftpd and added two users (ramon and dragon) via htpasswd to my file /etc/vsftpd.passwd. The /etc/pam.d/vsftpd is ...
5
votes
0answers
556 views

How to create ftp restricted user with vsftpd? (by terminal in ubuntu)

I have installed ubuntu 12.04 with vsftpd. I need to create ftp users able to access only directories like /var/www/nameDirectory. I though it was a very basic feature, but seems not... I tried to use,...
4
votes
1answer
3k views

What's the real security risk in VSFTPD of pasv_promiscuous=yes?

In VSFTPD, the default for pasv_promiscuous is "NO", and the man page indicates: Only enable if you know what you are doing! The only legitimate use for this is in some form of secure tunnelling ...
4
votes
1answer
3k views

default file permissions for ftp uploads in ubuntu (vsftpd)

I followed this answer for setting default file permissions in my web root folder. I am trying to set all files/dirs to 775 by default. This works fine when creating files within linux and also when ...
4
votes
1answer
7k views

vsftpd 530 permission denied CentOS6.7

I'm running CentOS 6.7 and I'm trying to successfully establish an FTP connection using vsftpd. Please point me in the right direction! Status: Connection established, waiting for welcome ...
3
votes
1answer
6k views

vsftpd chmod upload permissions

I have vsftpd 2.3.2-3. After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manually to anything he likes. But how to set for example 0700 by default?...
3
votes
1answer
2k views

XUbuntu vsftpd couldnt restart

# sudo /etc/init.d/vsftpd restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service vsftpd restart Since the script you are attempting to invoke has been ...
3
votes
0answers
417 views

How to open files (music, videos) from FTP directly from Explorer ( Windows Vista)

I have two computers. On the first I have Debian and on the second I have Windows Vista. I've set up vsftpd in Debian and connected to it from Vista. I'm browsing the FTP directory from Windows ...
2
votes
2answers
7k views

How do I get a very simple VSFTPD server working?

I'm running Arch Linux with kernel 2.6.35-ec2. I've got the most recent version of VSFTPD installed and running. Here is its log file: anonymous_enable=YES local_enable=YES write_enable=YES ...
2
votes
3answers
2k views

Why cannot `ftp` program read a file in /tmp directory?

While making an automated ftp upload script, I noticed a very strange behaviour of ftp program: if I want to send a file which belongs to /tmp directory, ftp will always fail and give an error message:...
2
votes
1answer
4k views

The Opposite of Umask for vsftpd

Is there a way to force permissions on newly created files, similar to umask, but in reverse? I already know I can kludge it with a cron job, but I am hoping that there is a better way. The setup I'...
2
votes
1answer
319 views

WinSCP script fails to transfer file to a remote location

When I try to run a small script using WinSCP client below error throws while transferring the file to the remote server and getting aborted. Error message C:\WinSCP-5.9.6-Portable>WinSCP.com /...
2
votes
3answers
17k views

vsftpd - ftpuser cannot upload files to server

I'm developing a website in Netbeans where I configured FTP to upload files to my server. On the server - Ubuntu 14.04 LTS - I created a user called "ftpuser" specifically for this task. I installed ...
2
votes
1answer
111 views

What is the correct way to set up FTP on a Multisite Webserver

I'm running Ubuntu 12.04 as a webserver with multiple websites. I want to grant users FTPS access to certain directories in order to administer the website. I have the directories for multiple sites ...
2
votes
1answer
4k views

Can't start VSFTPD

I cannot get my FTP server to start, I have checked by using top and it does not show up. When I use sudo /etc/init.d/vsftpd restart I get this "Stopping FTP server: No /usr/sbin/vsftpd found running; ...
2
votes
1answer
2k views

Linux `mount --bind` made client's folder disappear?

I tried making a VSFTPD user with access to all of our clients' FTP folders. (the users are all chroot'ed to their home directories, where the public_html folders are). What I did was create a new ...
2
votes
1answer
2k views

How to set up virtual users in vsftpd?

I've read this tutorial: http://howto.gumph.org/content/setup-virtual-users-and-directories-in-vsftpd/ My configuration is as follow: ---vsftpd.conf--- listen=YES anonymous_enable=NO local_enable=YES ...
2
votes
0answers
237 views

Accessing VSFTP server as a different user from the user account which is currently logged in

I have a piece of a Java program that access the local FTP server (running on VSFTPD) which I use to upload and download files. I am planning this application to be remote-capable so that it can ...
2
votes
0answers
1k views

GnuTLS error -15: An unexpected TLS packet was received when setting up vsftpd with SSL

I have an Ubuntu 14.04 on EC2 with vsftpd 3.0.2 I have set up the SSL certs and my vsftpd.conf is: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES ...
2
votes
0answers
29 views

how to track files in vsftpd on fedora

I installed vsftpd server on fedora. many users are uploading files. I want to track files, that means, who has uploaded the files, and I want to know the IP address of the system.
2
votes
2answers
1k views

VSFTP Users and Directories

I'm stuck. I've been working all day on trying to figure out what I'm doing wrong and I've hit wall after wall. What I'm trying to do: Setup FTP in such a way that certain users have access only to ...
2
votes
0answers
1k views

Ubuntu 10.04 with vsftpd: Can't chown /var/www?

For the life of me, I can't seem to chown my /var/www folder on my server. i want to: chown -R ftpuser /var/www And it returns Invalid Argument on every file change attempt. I've tried sudo with ...
1
vote
2answers
13k views

add ftp server to a subdomain

I'm currently running an ftp server (vsftpd) on my site say www.domain.com. I'd like to change this so users can type in ftp.domain.com instead of www.domain.com to get to my ftp. I'm confused with ...
1
vote
1answer
31k views

CentOS permissions for FTP user - 550 Create directory operation failed

I have created an ftp user on my CentOS server. Now I can log in remotely via ftp using my username and password, see all the directory listings (not limited/jailed) to any directory, but I cannot ...
1
vote
1answer
696 views

FTP failure on Ubuntu Server

I am still learning Ubuntu 16.04. Here is my situation with ftp failure. I installed vsftpd on my Unbuntu server two months ago and when I was working on it the past Sunday, everything was fine. But ...
1
vote
1answer
1k views

FTP server cannot complete SSL handshake (VSFTPD)

I'm trying to set up an internet-accessible FTP server with encryption, using VSFTPD as the server program, on Fedora 25. Despite seemingly setting everything up correctly, I can never connect to the ...
1
vote
1answer
397 views

AWS-EC2 - vsftpd: Failure retrieving contents of directory / - only on text editors

I got a very strange issue during the configuration of vsftpd on my ec2 instance: I have configured the ftp server to use ftp over TLS and it worked fine on filezilla, however I didn't managed to ...
1
vote
1answer
973 views

Cannot make vsftpd work, logging in as anonymous

I want to configure my vsftpd server to accept anonymous FTP. I used the following /etc/vsftpd.conf: listen=YES anonymous_enable=YES local_enable=NO write_enable=YES anon_root=/tmp/ anon_max_rate=...
1
vote
1answer
716 views

How to create simple read/write login to specific folder on Linux server? (ftp/ssh/other..)

I've got a simple Ubuntu (14.04) server. I now want to give ftp or ssh access to a specific folder to a friend of mine. Either ftp or ssh would be fine, I'm just after a quick setup. The problem is ...
1
vote
2answers
13k views

vsftpd: 500 OOPS: could not bind listening IPv4 socket

I will use vsftpd as a ftp server. I did all changes on /etc/vsftpd.conf. These changes are (according to digitalocean): anonymous_enable=NO write_enable=YES local_enable=YES chroot_local_user=YES ...
1
vote
1answer
3k views

vsftp upload timeout on ubuntu

I have set up VSFTPD on my Ubuntu 12.04. Nearly everthing is working fine. Connecting, authentication, retrieving directory listings, downloadings files. All works as expected. My problem is the file ...
1
vote
2answers
485 views

SFTP sending files between laptops on Ubuntu

I want to transfer files between two Ubuntu systems using SFTP. I have got it set-up and I can connect to the other laptop, ping it and see its file list using sftp> dir. I can see the files on the ...
1
vote
0answers
31 views

Connection issue with vsftpd and ProFTPD from Windows 10

I have one server, Linux based, I use for some years like a backup cloud server. This work very well with client like Windows 7, Ubuntu and Android. But Not with Windows 10. All programs I have used ...
1
vote
0answers
11 views

Mounted volume does not appear in FTP client using vsftpd

Using vsftpd and filezilla, I can connect and view files and directories in a user's home directory. An empty directory is initially visible, but after I mount an ext2 volume to it, the directory ...
1
vote
0answers
23 views

Unable to connect to vsftpd instance managed by xinetd on Centos 7

I am attempting to run an instance of vsftpd and have additional access controls and logging performed by xinetd. On the VM running both services, I can successfully initiate a ftp connection and ...
1
vote
1answer
233 views

Listing directory on vsftpd server with FileZilla fails with “The data connection could not be established: ETIMEDOUT - Connection attempt timed out”

I am trying to setup vsftpd on my server, it works, runs and connects. But when trying to connect to the server with FileZilla, I get the following error: Status: Connection established, waiting for ...
1
vote
0answers
30 views

How to give SFTP uploaded files sticky g+w rights

I want to provide users a personal storage to upload files to their home directory via SFTP(chrooted). These files should then be displayed on our website to decide whether they should be imported to ...
1
vote
0answers
556 views

Windows FTP client getting error as Connection closed by remote host [duplicate]

I am using Windows server 2012 R2 and have wndows default FTP client applications working. However, when I use command-line FTP, I can get connected, log in (after entering user name and password), ...
1
vote
0answers
359 views

What port ranges does vsftpd use when in active mode and connect_from_port_20 is default (no)?

I am attempting to ascertain the range of ports that vsftpd will use for my particular configuration. As I mentioned above the mode is active and connect_from_port_20 is default (I believe this is "no"...
1
vote
0answers
25 views

vsftpd not working with data logger

I've got a data logger from Logic Beach "Intellilogger" that I will be using for a solar energy project. It has FTP capabilities. I have made a dummy data logger function that records date, time, and ...
1
vote
1answer
578 views

vsftpd OS X chroot_local_user doesn't work

I set up a vsftpd on my OS X, it's ok but I can't connect on this. I have "530: Login inccorect" with my OS X user. On a Linux server, it's ok, but I don't understand why doesn't works on mac. My ...
1
vote
0answers
440 views

timeout on connecting to vsftpd on Ubuntu 14.04

I have a VPS running Ubuntu 14.04. I'm trying to run a FTP server on it, using VSFTPD. I think the server is running as it should, I can connect to it locally: root@my-server:~# ftp <IP> ...
1
vote
0answers
50 views

How to customize directory permission for users from FTP

I have a directory like this home +-- dirA +-- dirB | +-- fileA | +-- fileB and multiple users and groups. groupA has user1, user2, groupB has user3 I have set up permissions like these: ...
1
vote
0answers
226 views

Ubuntu Server 12.0.4 vsftpd timeout using external IP

I am having a problem connecting to my Ubuntu 12.0.4 server with vsftpd using my external IP. Connecting with local IP is successful. I am using FileZilla for the ftp client. I know there is a bunch ...
1
vote
1answer
302 views

properly not using root login for permissions with ftp

First off, I have a strong belief that I am trying to solve this issue with the entirely wrong point of view, so please, feel free to yell at me about how entirely wrong I am. My problem is that my ...
1
vote
0answers
1k views

Permission on create folder in ftp using vsftpd

i need create folder on FTP with permissions 755 and files with 644, so i set local_umask=02, and files are create with permissions 644 but folders stay 775, how to make folder with permissions 755, ...
1
vote
0answers
543 views

mount multiple windows shared folders in one Linux folder

As title say, im trying to mount multiple windows shared folders in one of Linux folder. I have two hard disk/drives, and in each of them have Folders that are shared. This folders i like to put on my ...