Hüls, Klaus-Dieter
2001-Oct-29 05:11 UTC
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@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of LouisVoo Sent: Monday, October 29, 2001 10:03 PM To: samba@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
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@mk-ag.de> To: <samba@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@lists.samba.org [mailto:samba-admin@lists.samba.org]On > Behalf Of LouisVoo > Sent: Monday, October 29, 2001 10:03 PM > To: samba@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
Hüls, Klaus-Dieter
2001-Oct-29 05:53 UTC
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@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of LouisVoo Sent: Monday, October 29, 2001 10:32 PM To: samba@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@mk-ag.de> To: <samba@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 theshare> section should do that. > > Regards, > > kd > > -----Original Message----- > From: samba-admin@lists.samba.org[mailto:samba-admin@lists.samba.org]On> Behalf Of LouisVoo > Sent: Monday, October 29, 2001 10:03 PM > To: samba@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 to755,> owner is louis:mygroup. My problem is how can I configure when Icreate> 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