[Samba] File permission for group
Patrick Nelson
pnelson at neatech.com
Thu Mar 6 18:22:09 GMT 2003
Chris McKeever wrote:
----------------->>>>
I think I had the same problem. It wound up being a smb.conf change:
force directory mode
force create mode
and then you can put the masks that you want
I am rather new to this and apologize if this is not correct
> -----Original Message-----
> From: Sathi [mailto:sathi_linux at gmx.net]
> Sent: Thursday, March 06, 2003 3:42 AM
> To: samba at lists.samba.org
> Subject: [Samba] File permission for group
>
>
> Hello All,
>
> I am running samba-2.2.4 as PDC.
>
> I created a share in samba as given below
>
> [Share]
> comment = Share
> path = /Store/share
> valid users = @share
> create mask = 0777
> directory mode = 0775
> browseable = yes
> writable = yes>
>
> If a user from "share group creates a file in the folder
> /Store/share only
> that yours can access that file.If another user from same
> group tries to
> access the file he gets access denied.
>
> How to configure Share so that all the users in the group can
> have full
> access to a file which was created by one the user in the same group
>
----------------->>>>
when a file is created with the absence of force user and/or force group, it
will use the %u and their default group. So if the user who connects is
sathi then the created file or directory will have ownership of sathi and
group of sathi. If everyone is in this group they will be able to see it.
Your answer would be to include the line:
[Share]
comment = Share
path = /Store/share
valid users = @share
create mask = 0777
directory mode = 0775
browseable = yes
writable = yes
force group = <the group with everyone in it>
More information about the samba
mailing list