LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2009, 02:10 PM   #1
finsh
Member
 
Registered: Jan 2006
Posts: 162

Rep: Reputation: 16
smb permisions question


Hi All

I have the folowing setup:
suse server 11
smb
LDAP
my samba authentication is coming from LDAP

I want to give different share permission on the same folder to different
users and/or groups (example: Administration folder is r/w by administration
group, read by Accounting group and no access to any other group)

Thanks
 
Old 05-21-2009, 04:34 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
[share_name]
path = /path/to/share
comment = my share
browseable = yes
write list = user1, root, @admingroup
read list = mary, @students, @someothergroup
 
Old 05-23-2009, 01:08 PM   #3
finsh
Member
 
Registered: Jan 2006
Posts: 162

Original Poster
Rep: Reputation: 16
clarification

Just a quicky to make sure I get this right.

the user names come in first and the groups are identified using the @ symbol?

Also, you set the browsable to "yes". if i do this, will all other users be able to browse the share but not open the files in it?

Thanks in advance

Quote:
Originally Posted by chitambira View Post
[share_name]
path = /path/to/share
comment = my share
browseable = yes
write list = user1, root, @admingroup
read list = mary, @students, @someothergroup
 
Old 05-25-2009, 06:04 AM   #4
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
Quote:
Just a quicky to make sure I get this right.

the user names come in first and the groups are identified using the @ symbol?

Also, you set the browsable to "yes". if i do this, will all other users be able to browse the share but not open the files in it?
YES!

You can specify only users if you want, or only groups, or mix users and some groups depending on your plan for access control.

Last edited by chitambira; 05-25-2009 at 06:07 AM.
 
  


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
howto chowto change file permisions in multiplhange file permisions in multiple dirs? pingvina Linux - Software 3 01-13-2006 03:10 PM
SMB question dareino Fedora 5 09-05-2005 07:35 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
permisions question Filsta Slackware 4 07-28-2002 05:47 AM
Smb question KevStA Linux - General 10 05-26-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:36 PM.

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