LinuxQuestions.org
Register a domain and help support LQ
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 02-10-2006, 12:04 AM   #1
3333
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
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

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
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

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.
 
  


Reply


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


All times are GMT -5. The time now is 10:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration