Directory Configuration
Here's what I wish to do. You can tell me if I'm way off. My two goals are to make file sharing via Samba easy for my users (family), while not totally blowing off Linux customs for file directory layouts.
On the existing Win 95 server, I have one shared directory called FILES. Inside are folders for each user, plus for music, pictures, downloads, etc. We map this to the G: drive on our clients. Everyone can see everything.

I need to figure out how to setup security and groups to pull this off. Here's what I've come up with so far:
The new drive is mounted on /mnt/hdd1. I created two directories - home and music. I can map these directories to other folders using:
mount --bind /mnt/hdd1/music /music
mount --bind /mnt/hdd1/home /testhome

I would map /mnt/hdd1/home to the /home folder once I'm ready.
Here's the part I'm not very clear on. The user directories in /home have both the owner and group set to the username. Should I change the group to the "users" group? Also, should I set "+s" (set group ID) on the non-user folders (music, pictures, etc.) so that everyone can create files there, but they are owned by the folder owner and group?
Leave your comments, opinions, suggestions, praises, and criticisms below. I'd love to hear from you.
0 Comments:
Post a Comment
<< Home