From owner-freebsd-questions Thu Dec 3 03:06:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27859 for freebsd-questions-outgoing; Thu, 3 Dec 1998 03:06:23 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from prometheus.smlt.com (prometheus.smlt.com [195.172.80.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27851 for ; Thu, 3 Dec 1998 03:06:20 -0800 (PST) (envelope-from quintin@smlt.com) Received: from orion.smlt.com (orion.smlt.com [195.172.80.149]) by prometheus.smlt.com (8.8.7/8.8.7) with ESMTP id LAA30461; Thu, 3 Dec 1998 11:07:08 GMT Received: from localhost (quintin@localhost) by orion.smlt.com (8.8.7/8.8.7) with SMTP id LAA10117; Thu, 3 Dec 1998 11:40:46 GMT Date: Thu, 3 Dec 1998 11:40:45 +0000 (GMT) From: Quintin Oliver To: Don Read cc: freebsd-questions@FreeBSD.ORG Subject: Re: Samba troubles. In-Reply-To: <3.0.5.32.19981201062443.00802100@mail> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 1 Dec 1998, Don Read wrote: > back on 11:32 AM 12/1/98 +0000, you said: > > > >Hello again, > > > >I'm having a few problems with samba, I've setup the `smb.conf' to share > >the user home directorys this works great and a *public* area where all > >the lan users save there files. > > > >The problem: > > > >When user Mike saves a file in *public* `/home/samba/public' the file > >automaticly sets the uid,gid to mike.mike, this means that user joe > >doesn't have write access to Mike's files even if there public?? > > > >This problem is screwing up our accounting software :-( does anyone know > >of a solution to this? > > > > On my main samba server, all users are members of group 'user', > and I run a script every 5 minutes from the root cron: > > ============ > #!/bin/sh > SMBDIR=/usr/share/samba > for I in eis hr gl fr ross app/bmsfw/db > do > find $SMBDIR/$I -exec chmod g+w {} \; > done > ============= Nice script, the only problem is that hundreds of files are accessed in five minutes, for a friend a script similar to this worked very well, but our accounting software doesn't :-( still a good script though :-)) Many Thanks, Quintin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message