On 10/13/2011 11:42 PM, Roger Oberholtzer wrote:
On Thu, 2011-10-13 at 18:07 -0700, John Andersen wrote:
The key was to disallow the local machine from setting uid/gid on the server, and allow samba to do this via the rules in the smb.conf.
We always set the smb.conf to force some things: [datashares] comment = Company Files path = /raid/....... force group = +datashare read only = No create mask = 0660 force create mode = 0660 security mask = 0770 directory mask = 0770 force directory mode = 0770 directory security mask = 0770
It seems that you have sort of focused on group permissions rather than user permissions. I suspect that this is the only approach for CIFS. Then, all users that should share a volume are a member of that volume's group. You could, I guess, have a group for each share.
Exactly right Roger. We had to do that because we had a mix of Windows and Linux machines on the network, and folks had to share documents in a common directory. We wanted to maintain owner (creater) info, but still allow full group access (read/write, etc). For the user's server based Home directory we used different permissions of course. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org