LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to hide child folders in samba? (https://www.linuxquestions.org/questions/linux-general-1/how-to-hide-child-folders-in-samba-723762/)

thetakan 05-05-2009 01:00 AM

How to hide child folders in samba?
 
I am using Samba server ver. 3.X. on Suse 10 box 64 bit.

I have sahred folders for users in LAN environment using Domain authentication with samba.

I want to hide some folders which are child folders of one shared folder.

The scenario is >>> one folder is "Folder" which is parent folder.

This folder contains "Folder1" "Folder2" and other files.

I want only administrator to see the folder,no other user can see it.

Is it possible with samba?

Please let me know.............

Thanks in advance...............

bhaslinux 05-05-2009 05:04 AM

I had stumbled into these cases but it is waste of time to dig and make things work
the easy way is to:

1. have a top level folder
2. create symlinks to folders inside this top-level folder
3. give permission for each symlink.

symlinks are seen as folder by the windows machine (trnapsarently) and the user will not feel
a difference. also you can fine grained access control to folders.


All times are GMT -5. The time now is 12:29 AM.