[Samba] File permissions
Joel at HammersHome.com
Mon Aug 19 16:35:01 GMT 2002
Doesn't the force user and force group make all the students kreese:teacher ?
So, they have no trouble changing the files.
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
> I have a directory on my linux machine.
> 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
> 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
More information about the samba