Article 4TEEF looking for help with glftpd

looking for help with glftpd

by
alinghi
from LinuxQuestions.org on (#4TEEF)
Hi there,

first of all i'm noob, and i'm sorry about my poor English

Ok, so i'm running Debian 9 (stretch) and the latest glftpd (glftpd-LNX-2.09_1.1.0j_x64)

Installed it (/dev/sda1), and its running fine, I can connect, all is fine.

The thing is, I have a raid-0 array, and I would like to move /jail/glftpd/site to a folder there, since I have a big free space there that I would like to use.

So, on that raid-0 array, I have a folder there named "_ftp" and I would like to move /jail/glftpd/site to that _ftp folder.

I have tried edit my /etc/fstab like this:

UUID=xxxxxxx /jail/glftpd/site ext4 defaults,nofail,discard 0 0

it worked, but it's not the way I would like to be.

here is my df -h output

https://pastebin.com/58pnmFbu

as you can see, /jail/glftpd/site is properly mounted on my array (/dev/md0)

and here is my /etc/fstab

https://pastebin.com/mSHDZdhb

As I said, theres a folder on /dev/md0 named _ftp, and I would like to move all /jail/glftpd/site content to inside that _ftp folder.

How can I do this ?

I have tried edit the mount point to /jail/glftpd/site/_ftp it moved correct, buti don't think that is corret, since when I connect to it with an ftp client, I can see a folder named _ftp that I believe I should not be seeing that folder. And I can see all my other /jail/glftpd/site (like apps, games ...)

I don't understead if I have to change the mount point, of if I have do edit anything at /jail/glftpd.conf

Any one can give me a light here please ?

Update 1: so I've mounted using bind

sudo mount -o bind /mnt/_ftp /jail/glftpd/site

its is where I want to be, but I can't see my /site folders therelatest?d=yIl2AUoC8zA latest?i=bt8zsVac8-4:mUdaDcvWof8:F7zBnMy latest?i=bt8zsVac8-4:mUdaDcvWof8:V_sGLiP latest?d=qj6IDK7rITs latest?i=bt8zsVac8-4:mUdaDcvWof8:gIN9vFwbt8zsVac8-4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments