[Linux] ubuntu install configuration vsftpd and lock the directory

System environment

ubuntu 14.04 LTS

vsftpd installation

apt-get install vsftpd

Configuration file

The location of the default configuration file is /etc/vsftpd.conf

local_enable=YES //Open local system account login
write_enable=YES //When the file cannot be created, open this
local_umask=022//When the uploaded file does not have read permission, open this
chroot_list_enable=YES //Open the restriction list, this is the switch
chroot_list_file=/etc/vsftpd.chroot_list //Restricted list list, users to be restricted
local_root=/usr/local/htdocs //Specify a locked directory

common problem

500 OOPS: vsftpd: refusing to run with writable root inside chroot

Solution: The set directory cannot have write permission, set the permission to 755

Recommended Posts

[Linux] ubuntu install configuration vsftpd and lock the directory
Ubuntu16.04 install SVN and configuration
Ubuntu install PHP and PHP Nginx configuration method
Linux install Docker and run Ubuntu system
Install and use Git and GitHub on Ubuntu Linux
The basic configuration and interface beautification of Ubuntu
[Linux] Ubuntu install pip and its various bug solutions
The difference between CentOS and Ubuntu in Linux system
Install the Ethereum client Mist on windows and ubuntu
Linux firewall related configuration commands and operations (centos and ubuntu)
Know Linux and install CentOS
Ubuntu install the latest Python 3.
Ubuntu 16.04 compile and install PHP 7.2
2.5 Linux (Ubuntu18.04) install database PostgreSQL
ubuntu18.04 compile and install python3.8
Ubuntu16.04 installation and simple configuration
ubuntu install and configure GitLab
Ubuntu16.04 install and uninstall VMware-Workstation 14
Ubuntu PostgreSQL installation and configuration
Talk about | Install and use Linux system Ubuntu under Win10
How to install JDK and Mysql on Ubuntu 18.04 linux system
CentOS 8 install Git and basic configuration
The difference between CentOS and Ubuntu
Ubuntu environment variables and ADB configuration
Install and configure MySQL on Ubuntu
Install and configure Docker in Ubuntu
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Install and deploy Gerrit under Ubuntu
Install nodejs and npm under Ubuntu 16.04
Ubuntu 19.1 installation and configuration Chinese environment
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Linux CentOS6 compile and install Pyt
Ubuntu configuration source and installation software
Compile and install QEMU under Ubuntu
Linux basics (Ubuntu copy and paste)
Install the latest version of Thunderbird and exchange plugins under ubuntu
Install the latest Python 3.6 version on Ubuntu
Install Gnome and VNC on Ubuntu Server
Linux development preparation-install VMware and run Ubuntu
Install linux (ubuntu) dual system under windows system
[Daily] Win10 open and install ubuntu subsystem
Ubuntu install Elasticsearch and elasticsearch-analysis-ik word segmentation
How to install MySQL on Ubuntu 18.04 (linux)
Install docker on ubuntu and basic usage
Install fonts on Ubuntu and switch default fonts
Ubuntu 18.04 source code compile and install ffmpeg4.1
Install Ubuntu 18.04 in the virtual machine VMware
Install the flat theme latabulous on Ubuntu 16.04
Install NeoVim on Ubuntu: the easiest way
Windows 10 subsystem linux install pagoda panel Ubuntu
Install and uninstall CUDA and CUDNN on Ubuntu
The relationship between Open3D version and Ubuntu
Ubuntu 14.04 16.04 Linux nvidia driver download and installation
Ubuntu install ftp server and possible problems
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
How to install Ubuntu20.04 and install NVIDIA driver
Linux (ubuntu 12.04)
How to install vim editor under Linux (Ubuntu 18.04)
How to install Pycharm and Ipython on Ubuntu 16.04/18.04
How to install and configure NATS on Ubuntu 16.04