[Samba] Re: File Permission Question

Jamrock news_jamrock at yahoo.com
Sun Nov 2 20:58:04 GMT 2003


"Philip Bubel" <philip at bubel.com> wrote in message
news:!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAs1bqdKJzmkiB4lFfUBZJD8KAAAAQAAAAC+mRorIWu0Kc/TrUs29tLAEAAAAA at bubel.com...
> Hello All,
>     Got a little problem that I'm hoping somebody can help me solve.  I've
> got a samba server set as the office's file server.  We have a large
common
> share that different people put documents in, and are to be modified by
> other people.  I need to setup samba so that when a new file is created it
> is writeable to the entire group, not just the person who created it.

I use Linux file permissions for this.   I do the following on Red Hat.  You
will need to find the commands for your distro.

create a new group "groupadd consultants"

add all the relevant users to the group  "usermod -G consultants pbubel"

Give the group ownership of the share  "chown pbubel:consultants
/path/to/share

I use the same approach to grant access to specific shares in Windows.






More information about the samba mailing list