LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   samba share ideas (https://www.linuxquestions.org/questions/linux-software-2/samba-share-ideas-335865/)

jonfa 06-21-2005 03:54 PM

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?

ctkroeker 06-21-2005 06:45 PM

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.

stefan_nicolau 06-21-2005 07:50 PM

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.


All times are GMT -5. The time now is 05:21 AM.