From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 00:57:53 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 5370216A4CE for ; Sat, 17 Apr 2004 00:57:53 -0700 (PDT) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04FD743D2F for ; Sat, 17 Apr 2004 00:57:48 -0700 (PDT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i3H82Idu064914; Sat, 17 Apr 2004 09:02:30 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <4080E48A.7040201@circlesquared.com> Date: Sat, 17 Apr 2004 09:02:18 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "freebsd.org@carmoda.com" References: <4080E09D.5030601@carmoda.com> In-Reply-To: <4080E09D.5030601@carmoda.com> Content-Type: text/plain; charset=ISO-8859-1; 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 07:57:53 -0000 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. > > ////////////////////////////////////////////////////// > [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. > > > 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? PWR.