How to share files/directory to the members of the group?

LouisVoo louis at allsofts.com
Mon Oct 29 05:57:08 GMT 2001


I'm using version 2.2.2.  In the homes share I also have a directory mask
and create mask in there, and the testparm show all of them, I don't know
why it not show in my files share.


Louis
----- Original Message -----
From: <Hüls>; "Klaus-Dieter" <huels at mk-ag.de>
To: "'LouisVoo'" <louis at allsofts.com>
Cc: <samba at lists.samba.org>
Sent: Monday, October 29, 2001 5:53 AM
Subject: RE: How to share files/directory to the members of the group?


> Which version of Samba do you use ? I double-checked the directory mask
> and it should work for Samba 2.x .
>
> kd
>
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of LouisVoo
> Sent: Monday, October 29, 2001 10:32 PM
> To: samba at lists.samba.org
> Subject: Re: How to share files/directory to the members of the group?
>
>
> Hi,
>
>     Thanks for your quick reply, I try it create mask = 0775 and
> directory
> mask = 0775, then restart samba, and login and create a file and a
> directory, the file permission is correct, but the directory permission
> is
> wrong.  I use testparm to test the conf file, I only see the create
> mask,
> but the directory mask is not list out, why?
>
>
> Louis
>
> ----- Original Message -----
> From: <Hüls>; "Klaus-Dieter" <huels at mk-ag.de>
> To: <samba at lists.samba.org>
> Sent: Monday, October 29, 2001 5:11 AM
> Subject: RE: How to share files/directory to the members of the group?
>
>
> > Hi,
> >
> > the parameters create mask = 0755 and directory mask = 0755 in the
> share
> > section should do that.
> >
> > Regards,
> >
> > kd
> >
> > -----Original Message-----
> > From: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]On
> > Behalf Of LouisVoo
> > Sent: Monday, October 29, 2001 10:03 PM
> > To: samba at lists.samba.org
> > Subject: How to share files/directory to the members of the group?
> >
> >
> > Hi,
> >
> >
> >     I just finished install and configure samba as a PDC.  My w2k and
> > w98
> > can login wihtout any problem.
> >
> >     I have a share directory call "files" in the samba server.  The
> > permission of this directory is set to 775 and the owner is set to
> > root:mygroup.  When I login from w98/w2k, then I create a directory
> > under
> > "files" directory, and the directory permission is automatic set to
> 755,
> > owner is louis:mygroup.  My problem is how can I configure when I
> create
> > a
> > file/directory and it will automatically share to mygroup members, i.e
> > the
> > permission is set to 775?
> >
> > In my smb.conf I have this
> > ...
> > ...
> > [files]
> >     comment = public files
> >     path = /files
> >     read only = no
> >     public = yes
> >     write list = @mygroup
> >
> > .
> > .
> >
> >
> > Regards
> >
> >
> > Louis
> >
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list