Need to hide the directories content for /opt/ directory from user mike.
Hi Experts,
I hope you all are doing well.
RedHat 6.2 (Santiago).
I need your help in granting permission to a user in such a way that he is able to see and access JUST FILES under a sub-directory. I don't want this user to even see the contents under the main directory except for the one which I want to granted him the permission to.
Ex:- I have configured a user 'mike'. I want this user to just see and access the file under /opt/yahoo/gmail/abc/ . If he does an wscp from the windows machine to this redhat server, he should be just able to see /opt/yahoo/gmail/abc/X and nothing else. Rest all other contents under /opt/ or /opt/yahoo should be hidden from it.
I am pretty sure there must be a way, but I am not able to figure it out. I tried to work with the chmod and acl's but that is not solving my purpose and issue as the user is still able to see /opt/ and all the other contents under this directory.
Need your expert guidance.
Appreciate all your help in advance.
|