LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-21-2005, 04:54 PM   #1
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
samba share ideas


Hi All,

I want your opinion on how to set up a small business network with 8 XP desktops and 1 Fedora Core3 server. The main purpose of the server is data backup. I will have a backup utility on the XP boxes due a daily backup to the server. I want the boss to be able to rwx everything the other users put on the server and the employees to have rwx of their files, but only rx on the other employees files. Here is the file structure I had in mind:

/backup/computer1
/backup/computer2
...
...
...
/backup/computer8

Any ideas on how to accomplish this? Will I need seperate shares for each folder in my smb.conf and use the create mask = 0754 ?

Is there an easier way that to create 8 users. Can I have one user that will establish the file permissions?
 
Old 06-21-2005, 07:45 PM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Maybe, try this:
make a partition for every XP PC, you will have to use fat32 to acomplish this, as Linux can read/write to it and so can XP.
 
Old 06-21-2005, 08:50 PM   #3
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Originally posted by ctkroeker
Maybe, try this:
make a partition for every XP PC, you will have to use fat32 to acomplish this, as Linux can read/write to it and so can XP.
What do you mean? We are talking about samba file sharing, not dual-booting.

As for the original question:
You should create 8 accounts on the server, but all you need is one share with 8 subdirectories, each one owned by a different user, and the permissions should be: 0775, with each of the subdirectories sgid user-group1 to user-group8, where user-group1 contains user1 and boss. This is probably not the best way, but it's all I could think of now.

Last edited by stefan_nicolau; 06-21-2005 at 09:00 PM.
 
  


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
Samba question - please help, I'm really out of ideas Panzerfrost Linux - Software 22 03-11-2011 02:15 AM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 02:35 AM
Basic Samba help/ideas/suggestions please? bigjohn Linux - Software 13 01-16-2006 03:28 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM
Can't read html docs from Samba share...ideas? _TK_ Linux - Newbie 6 02-14-2001 09:22 PM


All times are GMT -5. The time now is 09:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration