LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2014, 01:17 PM   #1
peter85
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
Samba - hide a share from a custom user group


I've configured a few samba shares for a few usergroups. Group A (students) has access to share 1 only, group B (internet) has access to share 2 only. The owner of both of the shared folders is not in one of those groups (admin).

The problem now is that both usergroups get to see both of the shares, even while they both have access to only one share.

Things I've already tried in smb.conf:

- Hide unreadable: won't work because all shares have 775 permissions (otherwise group members cannot access their share)

- Browseable = no , include ~/%G.conf , with browseable = yes in the include : Won't work because the usergroups aren't the users' primary usergroups.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help me please . Hide share from users who don't have access samba tuxbruma Linux - Server 2 02-15-2013 07:14 AM
[SOLVED] Enforce user and group ownership in subdirectories of a Samba share jillges Linux - Server 1 12-29-2011 03:55 PM
hide share directory of samba/windows user centos123 Linux - Server 1 09-03-2011 02:28 PM
Samba Share for Group bgeorge Linux - Newbie 2 12-19-2007 10:47 PM
How could i hide some files in the share directory(samba) whepin Linux - General 1 12-20-2001 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration