Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-10-2006, 12:04 AM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Fedora Core 3
Posts: 15

Rep: Reputation: 0
Setting up samba shares more complex

Hi Guys,

I need a little help with setting up some folders.

I have a company setup that has 7 divisions, eg, Sales, Quality Assurance, Administration, etc and for each division, there are 3 departments. Now I want the divisions to be shares, (so I dont have 21 shares), but I need specific user permissions for the department folders.

It gets complicated because certain users have access to certain departments, but not others. For example, in the Admin division there are 3 departments. The CEO (user) needs access to all 3 departments, but finance (user) is only allowed access to 2 of them BUT if the finance saves a file, the CEO must be able to read/write it.

Any suggestions?
Old 02-10-2006, 10:29 AM   #2
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
well, dont forget that the smb users map to unix users. and the file permissions these users have still apply. so if you allow a smb user to access something their unix account doesnt have permissions for, nothing happens.

personally i would do this one of two ways

1). via unix permissions - e.g creating unix groups for each department

2). via the allowed users parameter.
Old 02-10-2006, 11:33 PM   #3
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
I would read up on access control lists (acl). Makes it easy to allow who gets access to what and what they can do when they get there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up samba shares. scjvsTP Linux - Software 9 02-04-2006 05:45 AM
trouble setting shares so samba networked xp box can browse files mjewell Mandriva 4 11-13-2005 08:20 AM
Samba Config not working setting up user shares. cogs_bobv Linux - Software 9 10-11-2005 08:58 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 06:03 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 PM.

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