File permissions

Mike Hauber m.hauber at
Wed Feb 23 09:17:48 GMT 2005

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.



More information about the freebsd-questions mailing list