I am setting up a samba server on RHEL7. I would like to set up my share permission in the following manner -
Directory shared -
/shared/ /shared/private/ Files in /shared/ - /shared/file1 /shared/file2
I want to allow user to access to file1,file2 and private direcotry without allowing them to browse /shared/ directory.
User should not see what is inside /shared/ directory but if they know the exact file and directory name in /shared/, they should be able to access it via full path.
Can it be done?