[lug] group perm nightmare

Sexton, George gsexton at mhsoftware.com
Mon Oct 7 10:53:05 MDT 2002

Actually you do this in the smb.conf file.

create mask=0760
force create mode=0660
force directory mode=2770
directory mask=0770

You would have to refer to the smb.conf man page to see how they would all
apply together. The force directory mode ensures that any new directories
that are created are also created with the setgid bit turned on.

I can tell you from experience this does work correctly.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
Voice: 303 438 9585

-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of chris
Sent: 07 October, 2002 10:37 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] group perm nightmare

On Mon, Oct 07, 2002 at 10:22:55AM -0600, Sexton, George wrote:
> I find the group permissions feature to be extremely handy for Samba
> When you need to create directory structures for groups of people to share
> like secretaries, it makes it much easier.

surely, if you're creating directories manually anyway, it doesn't matter
what the default homedir is?  and does the default umask really apply on
samba shares when the person isn't logging in anyway?  i've never really
noticed since the samba setups i support are all tiny and
single-user-centric ("this is your share.  there are many like it but
this one is yours...")
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

More information about the LUG mailing list