Answer the question
In order to leave comments, you need to log in
How to give access to certain external FTP directories to a user?
I'm using linus debian + vsftp
Created an ftpuser user for ftp restricted access to his home directory
Also in /home there is another directory with services. In each of them there is a directory with logs.
I need to give access just to these logs ftpuser
/home - servicesdir - servisedir1 - log
- ...
- servisedir2 - log
- ...
- servisedir2 - log
- ...
- ...
- ftpuser - (link to logs in servicedir1)
- (link to logs in servisedir2)
- (link to logs in servisedir3)
- ...
Answer the question
In order to leave comments, you need to log in
symlinks are parsed by the ftp server and follow them only if there is access to this fs branch.
in this case, it is better to use mount -o bind in this case, the fs branch is supplied "directly", the program will not even know that it is in another place in the fs tree.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question