Unix permissions, groups, etc as forced by Samba

Giulio Orsero giulioo at tiscalinet.it
Wed Nov 17 15:17:59 GMT 1999


On Thu, 18 Nov 1999 01:53:54 +1100, hai scritto:

>Is there any way to totally disable Samba forcing / masking file permissions 
>  and group information?
>
>All I want is the owner/group/perms to default the way that they do when
>  someone creates/edits the file as a user on the Unix box.

If I understood what you want:

A)
You can make it work using unix/samba, 1st way:
set up all the users in a unix group, say group1
chown root.group1 /path/top_shared_dir
chmod 2775 /path/top_shared_dir

set in smb.conf:
create mask = 0660
directory mode = 2770
force create mode = 0660
force directory mode = 2770

B)
You can make it work using unix/samba, 2nd way:
set up all the users in a unix group, say group1

set in smb.conf:
force group = group1
create mask = 0660
directory mode = 0770
force create mode = 0660
force directory mode = 0770

Is this what you want?

-- 
giulioo at tiscalinet.it


More information about the samba-technical mailing list