My goal is to get an FTP user to utilize upload to the volume and have the volume publicly accessible. I see the volume mounted via command line, but when I create an FTP user I cannot cant seem to access it, if I try and set the ftp user to go up a folder level “…/” it gives me an error “Cannot create FTP account. Error message: 0,Specified path must be inside virtual host home!”
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!
Hey friend,
You would probably want to mount it in the correct location for the FTP user. I’ve not used CyberPanel but for argument’s sake let’s say that ftpusera has access to /home/ftpusera/public_html (following cPanel logic). In that case I would mount /dev/sda there like this:
mount /dev/sda /home/ftpusera/public_html
This assumes /home/ftpusera/public_html is an empty directory at first, as an empty directory is required to mount the drive in place like that.
Jarland
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.