[Samba] File permissions

Scott Mayo sgmayo at mail.bloomfield.k12.mo.us
Tue Aug 20 05:03:00 GMT 2002


Ok.  It kinda works.  If I drag and drop it works, but if I try to 'save as'
out of Word to the dir then I get 'an out of memory or disk full' error.
Any ideas on that?  Thanks.
Scott Mayo
Tech Coordinator
Bloomfield Schools
PH:  (573) 568-4564
FX:  (573) 568-5681
Pager:  (800) 264-2535  X2549
----- Original Message -----
From: "Joel Hammer" <Joel at HammersHome.com>
To: "Scott Mayo" <sgmayo at mail.bloomfield.k12.mo.us>; <samba at lists.samba.org>
Sent: Monday, August 19, 2002 9:40 PM
Subject: Re: [Samba] File permissions


> Why not make
> create mask = 000 ?
> Once they save it, they can't touch it. And, nobody can overwrite it,
> either, it seems.
>
> Joel
>
> On Mon, Aug 19, 2002 at 07:25:38PM -0500, Scott Mayo wrote:
> > This is a temporary fix until I get my students added, but here is what
I
> > want.
> >
> > I have a directory on my linux machine.
> > /programs/bhs
> >
> > the permissions for bhs are 1777  jones:teach = (owner:group)
> >
> > In my smb.conf I have the following or there abouts(I have change it
many
> > times)
> >
> > [bhs]
> > comment = bhs
> > path = /programs/bhs
> > writable = yes
> > create mask = 770
> > force user = kreese
> > force group = teacher
> >
> > My idea was that when the students login highschool:bhs = (user:group)
and
> > save to the directory that it would change the owner:group to
kreese:teacher
> > which it does.  I also thought that since I had the sticky bit set on
the
> > folder that since they no longer were the owner or in the group (after
the
> > save) that they would not be able to delete it which they still can.
What
> > am I doing wrong?
> >
> > Thanks for any help.
> > Scott Mayo
> > Tech Coordinator
> > Bloomfield Schools
> > PH:  (573) 568-4564
> > FX:  (573) 568-5681
> > Pager:  (800) 264-2535  X2549
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list