Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2005 04:21:28 -0500
From:      Mike Hauber <m.hauber@mchsi.com>
To:        freebsd-questions@freebsd.org
Cc:        Gareth Bailey <gjbailey@gmail.com>
Subject:   Re: File permissions
Message-ID:  <200502230421.30271.m.hauber@mchsi.com>
In-Reply-To: <48a5f32a05022300467d73a166@mail.gmail.com>
References:  <48a5f32a05022300467d73a166@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 February 2005 03:46 am, Gareth Bailey wrote:
> Hi there,
>
> I need to set permissions on the /www/data-dist directory such
> that when samba users create new files in it the ownership of
> the files will automatically be set to www.
>
> How might i do this. I've had a look at the chmod and sticky
> manpages with no luck.
>
> Thanks,
> Gareth

man smb.conf

I think you want to "force group = www"
for the shares you want owned by www.

hth,

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502230421.30271.m.hauber>