View Full Version : [ubuntu] ftp server:1 directory 3 mount points
nejode
April 7th, 2009, 06:13 PM
I have a ftp server with 3 local users chrooted to their home directories, and 1 annonymous directory for public downloads available to anyone (/home/ftp). I already bound (mount --bind) /home/ftp to /home/user1/public-ftp so user1 can upload files to the public directory, but how can I bind the same public directory to all three users so they can upload there too... one directory to 3 mount points? Is it possible?
Thanks beforehand... Nelson
smileypaul
April 7th, 2009, 07:58 PM
Should be an option in the ftp config to follow symlinks
then add a symlink to each of their home directories
ln -s target source (i believe, might be source target)
nejode
April 12th, 2009, 01:51 AM
smileypaul: tried that but had problems with write permissions. VSFTPD requires the public ftp directory to be owned by root. Maybe creating a new group, changing the group of the directory, and adding all users to that group. I'll try it out and post the results here... thanks!
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.