S
S
Sergey Toy2011-06-03 19:06:43
Computer networks
Sergey Toy, 2011-06-03 19:06:43

Shared folder for all vsftpd users

There are 3 developers, each has its own account for access via ssh and ftp, vsftpd is used as the ftp server.
When accessing ftp, the user enters the home folder. Each developer needs to add the /var/www/project folder, made a ln -n link to the users' home directories. I distributed the rights to it, but when you go to ftp, you can’t enter the folder, although you can do anything through ssh.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vlad Frolov, 2011-06-03
@Toy

mkdir /home/user1/share
mount --rbind /var/www/project/share /home/user1/share

(to work after a reboot - you need to add an entry to fstab)

A
antivir, 2011-06-03
@antivir

As far as I remember, vsftpd does not support symbolic links.

V
Vlad Zhivotnev, 2011-06-03
@inkvizitor68sl

mount --bind
Or try ln -s.

C
ComodoHacker, 2011-06-04
@ComodoHacker

sftp not an option?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question