Goal: I would like to create directory rights so that specific manager user is able to access everything on /data and its child folders, but employees is able to access only Employee folder. This is Redhat. This is SFTP access. Employee users home directory is /parent/Employee. He should upload file only there.
I have done followings: 1) mkdir /parent 2) mkdir /parent/Employee 3) mkdir /parent/Manager
Problem is now that everybody can access /Parent and /Manager directory and its contents. User Employee should able to access only Employee directory and its contents. What to do?