[Samba] Group file ownership...

Brad sambauser at sportingwheelies.org.au
Tue Jan 21 02:47:00 GMT 2003


Thank you to all those that have replied.

I have resolved the problem by using:

        force group = users
        force directory mode = 0770
        inherit permissions = yes

Regards,
Brad


On Sunday 19 January 2003 03:39, bri wrote:
> I've been trying to figure out the same problem
>
> I've been investigating umask settings in /etc/bashrc, setting the setgid
> bit on the directories with chmod and also using inherit permissions = yes
> in the samba configuation file
>
> I've also tried the following smb.conf options:
>    create mask = 0770
>    force create mode = 000
>    directory mask = 2775
>
> Let me know if you find a workable solution - I'm still searching
>
>
>
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Brad
> Sent: Friday, January 17, 2003 1:32 AM
> To: Sambauser mailing list
> Subject: [Samba] Group file ownership...
>
>
> We have a Red Hat 7.3 file server that serves about 30 Windows PCs via
> Samba 2.2.3a.
>
> I have one group called "users" that everyone is in but when a file is
> created
> by a PC, the group ownership on the created file is not "users", but the
> same
> as the file owner name. Is there any way to force the group ownership of
> created files?
>
> Also, is there any way to force file ownersip to a given user on newly
> created
> files?
>
> Regards,
> Brad




More information about the samba mailing list