[LUNI] Fine tuning my samba setup
Jay Strauss
me at heyjay.com
Fri Jun 1 16:23:44 CDT 2007
I'm having a hard time fine tuning my samba setup (regarding ownership
and permissions). My salient bits of my smb.conf are:
[jblum#]
path = /opt/FCM
valid users = jblum, jstrauss
force user = jblum
force group = manager
read only = No
create mask = 0660
directory mask = 0770
hide unreadable = Yes
[phillips#]
path = /opt/FCM
valid users = phillips, jstrauss
force user = phillips
force group = manager
read only = No
create mask = 0660
directory mask = 0770
hide unreadable = Yes
[jstrauss#]
path = /opt/FCM
valid users = jstrauss
force user = jstrauss
force group = manager
read only = No
create mask = 0660
directory mask = 0770
hide unreadable = Yes
My goal was to have each of us users, view the same directory
structure, but when each of us create a file it would be owned by the
creator and only visible by the creator. I (jstrauss, as the
manager), sometimes go into the jblum# share, create a file, and the
ownership is jblum. This is the correct and anticipated behavior.
The problem is some of the directories under /opt/FCM contain shared
files (shared between all of us). I want a common owner of "fcm" on
files in these shared directories, and rw-rw-rw permissions. What
happens currently, is when jblum (or phillips) edits one of those
shared files the ownership is changed from fcm -> jblum and the
permissions are changed to 660.
I'm trying to avoid having a bunch of shares setup, just to maintain
my permissions and ownerships. I'm hoping someone here knows how to
accomplish the above with minimal pain
Thanks
Jay
More information about the luni
mailing list