I want to give SFTP access to user tom for directory /var/www/html/my_project/. while I don't want to give any SFTP access to directory /var/www/html/.currently /var/www/html/my_project/ and /var/www/html/ is owned by apache user.I need to give access only to  /var/www/html/my_project/ directory for both user tom as well as apache.Once access is given tom can access all the directories which are under /var/www/html/my_project/.Please help me I am struggling since a long time.
How to give sftp access to sub-directory only not to parent
files;permissions;directory;sftp