[CentOS] Samba vs. Firewall and/or SELinux

Tue Jan 1 00:44:03 UTC 2013
Rob Townley <rob.townley at gmail.com>

On Mon, Dec 31, 2012 at 6:41 PM, Mark LaPierre <marklapier at aol.com> wrote:

> On 12/31/2012 07:27 PM, Rob Townley wrote:
> > On Fri, Dec 28, 2012 at 9:10 AM, Craig White<craig.white at ttiltd.com>
>  wrote:
> >
> >>
> >> ----
> >> I guess I'm not sure what the point is by having files owned by 'nobody'
> >> and then adding nobody 'user' to the 'users' group - that seems to be
> some
> >> rather twisted logic that has security implications far beyond the
> simple
> >> samba share configuration but hey… it's your box.
> >>
> >> chirp users /data/public -R
> >> chmod g+s /data/public -R
> >>
> >> will ensure that all files/folders in /data/public are owned by the
> group
> >> 'users' and any new files/folders created within (whether by samba or
> not)
> >> belong to that group.
> >>
> >> if you add 'inherit permissions = yes' to the 'share' definition in
> >> smb.conf, that also will impact.
> >> Yes, you could also add:
> >> force security mode = 770 #or 775
> >> force directory security mode = 770 #or 775
> >> within the share definition too.
> >>
> >
> >
> > What is the chirp command and where is it found?
> > "yum search all chirp" yielded nothing.
>
> I believe you will find that chirp was a fat finger for chgrp.
>

THANK YOU... i could not figure out the typo quickly.
i wanted to make sure the complete and correct reference is there when i
need it some time at 3am.


> --
>      _
>     °v°
>    /(_)\
>     ^ ^  Mark LaPierre
> Registerd Linux user No #267004
> https://linuxcounter.net/
> ****
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>