Le 15/01/2014 00:21, Bob Goldberg a
écrit :
Hello, I have done something similar in the past with FTP (pure-ftpd). The principle was just to have two level of directory, like this : /srv/ftp/manager1/client1 /srv/ftp/manager1/client2 /srv/ftp/manager2/client3 /srv/ftp/manager2/client4 ... I was using virtual users, so the owner of all the hierarchy was the ftp user. By having chrooted home at different level, you can have what you want. manager1 : home dir /srv/ftp/manager1 client1 : home dir /srv/ftp/manager1/client1 client2 : home dir /srv/ftp/manager1/client2 manager1 can see files for both clients 1 and 2 client1 and client2 can only their own files |