Setting the GID bit on the directory solves this.
On 3/2/07, Oliver Schneider <olimaus@gmail.com>
wrote:> Hi,
>
> I have a problem with Samba file permissions.
> It doesn't concerns every user, but most.
>
> When a user creates a file it gets the wrong permissions. It gets
> username:users and not as expected username:groupname.
> So some useres can't write on a file, if someone else has saved it.
> I dont't know why it works on some users and not on all. A part of the
users
> get username:groupname and the smb.conf part gets respected.
>
> Here is the part from the smb.conf
>
>
>
> inherit acls = Yes
> writeable = yes
> valid users = @group
> force group = group
> path = /home/something
> read only = No
> create mask = 0777
> force create mode = 0777
> force directory mode = 0777
>
>
> Thank you for your help.
>
> Oliver
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
--
***
Cleber P. de Souza