vsftpd setup

Posted on 2014-02-04
Last Modified: 2014-02-10
Hi all and thanks to anyone who can help.

I am running Cent OS 2.6.32-431.3.1.e16.x86_64

Hosting an FTP using vsftpd

I want to create the following:



training-admin has full RW rights
training has R only

training-admin has full RW rights
training should not see the folder

training admin has full RW rights
training should not see the folder

Can someone point me in the right direction?

Question by:Patrick-NJ
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 13

Assisted Solution

Sandy earned 250 total points
ID: 39834824
Use pure-ftp instead of vsftpd because it does has option for jailing the directory and permissions.


Accepted Solution

NARANTHIRAN earned 250 total points
ID: 39834941
Creating Users:
#useradd training-admin
#passwd training-admin
#useradd training
#passwd training

Creating Folders:
#mkdir Training
#mkdir Internal
#mkdir Private

Permission to the Folders
#setfacl -m u:training-admin:rwx Training
#setfacl -m u:training:r-- Training
#setfacl -m u:training-admin:rwx Internal
#setfacl -m u:training:r-- Internal
#setfacl -m u:training-admin:rwx Private

Chmode 750 Private (So that the training use will not be able to read the private directory.)
You cant hide a folder for specific user i guess..

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
winscp 6 100
php56-php-mcrypt for rhel7 php56 1 110
Upgraded from Debian 7 to 8.7 and got black screen 20 99
Install XRDP on Ubuntu Server 16.10 x64 3 63
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question