By ripeart
If I comment out #chroot_local_user=YES then I can connect over Filezilla just fine however the output displays the entire path
/ -media –ftproot —mmg ----root
What I am trying to get it to do is when user ‘mmg’ logs in display only the “root” folder that lives inside “mmg”
I have the following option set:
local_root=/media/ftproot/mmg/root
and permissions on that folder are as follows:
root@server:~# ls -la /media/ftproot/mmg/root/
total 16
drwxr-xr-x 2 mmg mmg 4096 Jun 17 22:25 .
dr-xr-xr-x 3 nobody nogroup 4096 Jun 17 21:59 ..
-rw-r--r-- 1 root root 9 Jun 17 22:02 test.txt
-rw------- 1 mmg mmg 9 Jun 17 22:20 upload.txt
Any help is appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.