LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-30-2004, 03:22 PM   #1
funaroma
LQ Newbie
 
Registered: Jul 2004
Posts: 22

Rep: Reputation: 15
best-practice place to put shared directories


I've set up a RedHat Enterprise Linux server for a bunch of windows 2000 users. Basically it will be providing file, print and perhaps DHCP/DNS services for this small network.

I've created a /home directory for each user, with proper permissions. However, I also need to create a "company" folder, that all the users can see.

I plan on setting up a usergroup called "company" and adding all the users to that group, then making the company folder owned by ROOT, with group access for COMPANY usergroup.

Question: Where is the best place in the directory tree to place the COMPANY folder itself? Is there a recommended/best practice/commonly accepted place to put shares of this type? It doesn't seem to belong under /home, but I don't know where else it could go. Would it be simply a share right off of / ?

They also have two or three Access databases that need to be shared. I was thinking of treating them like applications, and putting each in its own directory, and creating usergroups for the app, like "db1users" and "db2users", so that access to the "applications" could be controlled by group membership. I figure there should be an APPS folder somewhere, with subdirectories for each "app" (database file). Perhaps the APPS folder should be off the root of the file system too?

Any other advice on what I'm planning to do is appreciated too :)

As always, thanks for your help.
 
Old 11-30-2004, 03:50 PM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
What I would do, if I were the one in your shoes, is create a new file system right off / called something generic like "/smbShares". Then under that I would put the company directory that everyone has access to. At this level you could either put another directory with the a sub-directory for each database, or just put the sub-directories for the database here.


/smbShares
|_________/company
|_________/accessdbs
|_________|________/db1
|_________|________/db2
|_________|________/db3

- OR -
/smbShares
|_________/company
|_________/db1
|_________/db2
|_________/db3

This would allow you some level of granular access control. I think the first option would be better as it would be a little more flexible in the long run.
 
  


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
Best place to put new programs. swamprat Linux - Newbie 5 10-04-2005 08:45 PM
Best place to get shared libraries? oasisbhrnw99 Linux - General 1 08-25-2005 08:34 AM
Where to put shared directory? mikieboy Slackware 11 02-12-2005 03:07 PM
what is the standard place to put sourcefiles and where install? ldp Debian 5 05-14-2004 10:36 AM
Access Shared Directories gotmonkey Linux - Networking 5 04-15-2004 09:20 PM


All times are GMT -5. The time now is 04:33 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