Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 17:26:57 -0400 (EDT)
From:      vogelke+unix@pobox.com (Karl Vogel)
To:        freebsd-questions@freebsd.org
Subject:   Re: Umask and Samba
Message-ID:  <20090414212657.0C330BE76@kev.msw.wpafb.af.mil>
In-Reply-To: <268096.61940.qm@web26106.mail.ukl.yahoo.com> (message from Andy Hiscock on Tue, 14 Apr 2009 16:31:03 %2B0000 (GMT))

next in thread | previous in thread | raw e-mail | index | archive | help
>> On Tue, 14 Apr 2009 16:31:03 +0000 (GMT), 
>> Andy Hiscock <andyjhiscock@yahoo.com> said:

A> Ideally I would like to "create mask" to be set to generate -rw-rw----.
A> Is there a way of working what the value should be?

   I use this in smb.conf, which allows user/group write and world read:
     force create mode = 0660
     force directory mode = 0775

   You might be able to turn world permissions off by using:
     create mask = 0740
   or
     security mask = 0770

-- 
Karl Vogel                      I don't speak for the USAF or my company
Drawing on my fine command of language, I said nothing.



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