Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How I can configure samba to set browsable a share for a group only.

I wanna hide the share for all other users, if a set browsable to yes all the users can see the share when explore. I don't want this behavior.

Example a simple share

[myshare]
    force group = mygroup
    write list = mygroup
    read list = mygroup
    browsable = yes
share|improve this question
add comment

1 Answer 1

You could add

hide unreadable = yes
hide unwriteable files = yes
share|improve this answer
    
This is a per file basis. –  Karlson Dec 11 '12 at 19:10
    
does not work, I have to put in global configuration –  rkmax Dec 11 '12 at 20:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.