I am looking for some advice on my proposed home server setup.
- Public - User, everyone that has network access (no password required)
-Guest access
-Downloaded/Archived TV and Music and Movies (read-only)- Family - Family documents, photos, and videos
-Mom
-Dad
-Son
-Daughter- Parents - Write access to family Group files plus additional separate “parental files location”
-Mom
-Dad- Kids - Parents also have full permissions
-Son
-Daughter
The Public Group will be for guests over our house on the network. They should have read-only access to a public folder for information such as movies, tv shows, and documents for neighbors phone numbers, emergency contacts, …
The Family Group will be for direct family only: parents and kids. Only the should have write access to the family folder so the kids don’t accidentally delete the family photos. Eventually when they get older, they should be able to create files and folders. However, they should never be able to delete a file or folder made by a Parent.
The Parents Group will be for parents only. Only parents should have access to the parents folder. The kids should not be able to list or access this directories. By default, Mom or dad should have full access (read/write/execute) to new files and folders created in this folder.
The Kids Group will be for our son and daughter. They should not have access to each others files but the parents should have full access to their files. Files to be shared with the Family should be placed in the Family folder.
All of these folders should be exposed over the network via Samba shares. It would be nice to have the current windows username and password the same on the Linux server.
Strategy
- Users
-Mom
-Dad
-Son
-Daughter- Groups
-Public
-Family
-Parents
-Kids- Folders
-/user/mom
-/user/dad
-/user/son
-/user/daughter
-/user/family?
-/user/parents?
-/user/public?
Questions
I understand the basics of user and group creation, but had a few questions:
- Where should “group” folders be placed? Since there is no “family/parents/public” user, where should this shared folder be created?
- How do I setup default access control/permissions for each “group folder” as described above? Each folder has different requirements for the default permissions when files are placed in the folder. In addition I would like these permissions to be applied to the samba shares AND local machine.
- Is there a way to implement the Windows 7 “libraries” feature where the group folders and user folders are presented as merged into a single directory structure? Is UnionFS the suggested way for Ubuntu 12.04? What package should I install for this?
Thanks for any advice, I am looking forward to my new server setup.
Bookmarks