[Samba] smb.conf setting for file permissions?
Jeremy Allison
jra at samba.org
Fri May 23 19:39:39 GMT 2008
On Fri, May 23, 2008 at 02:34:06PM -0500, Mike Eggleston wrote:
> On Fri, 23 May 2008, Jeremy Allison might have said:
>
> > On Fri, May 23, 2008 at 02:28:36PM -0500, Mike Eggleston wrote:
> > > On Fri, 23 May 2008, John Drescher might have said:
> > >
> > > > On Fri, May 23, 2008 at 3:05 PM, Mike Eggleston <mikeegg1 at mac.com> wrote:
> > > > > Hi,
> > > > >
> > > > > I have a very old version of samba on one of the boxes I'm not allowed
> > > > > to update. I have a request from a user group that all the group be
> > > > > allowed to edit a set of file. At the command line I 'chmod 666 $file'
> > > > > and all is well. I can edit and save the file. The permissions return to
> > > > > 744. I want the file permissions to not be changed when someone saves
> > > > > a file. What parameter can I add to /etc/samba/smb.conf so that file
> > > > > permissions are not changed when a file is save?
> > > > >
> > > > Are there any masks or force security commnds in the smb.conf?
> > >
> > > Not that seem obvious to me.
> >
> > What does the output of :
> >
> > testparm -s -v | grep mask
> >
> > say ?
>
> Nothing that I can find.
>
> Mike
>
> ------------------------------
> [root at ishwar root]# testparm -s | egrep -i 'mask|force'
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Processing section "[ishwarhome]"
> Processing section "[ishwar1]"
> Processing section "[ishwar2]"
> Processing section "[ishwar3]"
> Processing section "[ishwar4]"
> Processing section "[ishwarhtml]"
> Loaded services file OK.
> ------------------------------
You missed the '-v' to testparm. I want to see the defaults too.
Jeremy.
More information about the samba
mailing list