From owner-freebsd-questions Tue Dec 1 05:29:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27186 for freebsd-questions-outgoing; Tue, 1 Dec 1998 05:29:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailhost.det.ameritech.net (mpdr0.detroit.mi.ameritech.net [206.141.239.206]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27180 for ; Tue, 1 Dec 1998 05:29:15 -0800 (PST) (envelope-from jerry@reillyplating.com) Received: from reillyplating.com ([199.179.189.147]) by mailhost.det.ameritech.net (InterMail v03.02.02 118 115) with SMTP id <19981201142540.BEVY8339@reillyplating.com>; Tue, 1 Dec 1998 08:25:40 -0600 Received: from reillyplating.com (jerry [10.0.0.9]) by reillyplating.com (8.8.8/8.8.5) with ESMTP id IAA01864; Tue, 1 Dec 1998 08:28:08 -0500 (EST) Message-ID: <3663EEC9.42C1D0B4@reillyplating.com> Date: Tue, 01 Dec 1998 08:27:37 -0500 From: Jerry Bell X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Quintin Oliver CC: questions@FreeBSD.ORG Subject: Re: Samba troubles. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I tan into this as well. Create a group and add all of the appropriate users to that group. Then add a "force group = newgroup", and "create mode = 0660" in the definition of your public share. (see man smb.conf) Change the group of all the files in /home/samba/public to the new group and also change their permissions to 0660. All users of share "public" in group newgroup will be able to access those files created by each other. Jerry Quintin Oliver wrote: > > 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? > > Many thanks, > > Quintin. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message