Forum Home
Press F1
 
Thread ID: 54148 2005-02-05 02:19:00 Vsftpd Problem Ash M (46) Press F1
Post ID Timestamp Content User
321705 2005-02-05 02:19:00 Hi.

My setup is as follows

Two users camftp and ashftp - both have a home directory of /home/ftp

/home is a 60gb partition on /dev/hda1

/home/ftp/pub2 is a 160gb partition on /dev/hdb1 (separate hard drive)

pub2 is mounted inside so it does not effect the chroot jail.

There are no problems uploading and downloading to the pub2 folder but when I try to move files from the root directory (/home/ftp) to the mounted folder of the hdb1 drive /home/ftp/pub2 i get 550 errors.

This does not happen when I do the same to subdirectories based on /home/ftp (hda1 drive)

Not a big problem but annoying none the less

Any ideas?

Ash
Ash M (46)
321706 2005-02-05 02:35:00 Are these "/home"s on the same machine?

If you are mounting the /dev/hdb1 partition (which contains /home/ftp/pub2) on /dev/hda1 (which has only /home/ftp) it replaces the hda1 /home tree with its own. So you can't access or copy from hda's "/home" tree as long as hda1 is mounted.
Graham L (2)
321707 2005-02-05 03:33:00 Are these "/home"s on the same machine?

If you are mounting the /dev/hdb1 partition (which contains /home/ftp/pub2) on /dev/hda1 (which has only /home/ftp) it replaces the hda1 /home tree with its own. So you can't access or copy from hda's "/home" tree as long as hda1 is mounted.

Yes. I have mounted the second drive inside the /home partition on the first drive

As confusing as that sounds.

I can however ssh into the box and use the cp command which works fine.

Wierd.....
Ash M (46)
1