From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 01:10:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9600C16A4CE for ; Sat, 17 Apr 2004 01:10:10 -0700 (PDT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1249F43D45 for ; Sat, 17 Apr 2004 01:10:10 -0700 (PDT) (envelope-from anthony@carmoda.com) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i3H8A04u000655; Sat, 17 Apr 2004 18:10:00 +1000 Received: from carmoda.com (ppp1E95.dsl.pacific.net.au [203.143.244.149]) i3H89xI1020017; Sat, 17 Apr 2004 18:09:59 +1000 Message-ID: <4080E845.5010701@carmoda.com> Date: Sat, 17 Apr 2004 18:18:13 +1000 From: Anthony carmody User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Risdon References: <4080E09D.5030601@carmoda.com> <4080E48A.7040201@circlesquared.com> In-Reply-To: <4080E48A.7040201@circlesquared.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: question about SAMBA shared directory and file permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 08:10:10 -0000 Peter Risdon wrote: > freebsd.org@carmoda.com wrote: > >> Hi, >> >> i have been having problems with a SAMBA shared directory and user >> permissions. My smb.conf file is simple and allows for members of >> 'wwwdev' access the directory, and they can when i test it, but we get >> all kinds of problems with the permissions on various files and >> directories: > > > > It would help if you said exactly what those problems are. sure. i realised i didn't explain just after i sent the mail. doh! ok: i want really open access 'a-la-windows' style to all files under a certain directory tree to users in a particular group. at the moment, i am having to chown all files over to whom ever is editing them at any given time. >> >> ////////////////////////////////////////////////////// >> [wwwdev] >> comment = Virtual Web Servers HTTP dirs >> path = /usr/wwwdev >> create mode = 0765 >> valid users = @wwwdev >> ////////////////////////////////////////////////////// > > > > You might also need to set the directory mode on the share. cool, what would you suggest? >> >> >> i assume this is a ownership issue on the unix file system side, >> although i have opened up the permissions to 'pants down in public' >> level .... >> >> drwxrwxrwx >> -rwxrwxrwx > > > > So, what is the problem? Do these permissions and/or the file ownerships > get altered when accessed by a Windows client? i would have assumed that because the two users were in the same group they could access the same files in turn without chown-ing.