From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 15:12:29 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 CEC2216A4CE for ; Sat, 17 Apr 2004 15:12:29 -0700 (PDT) Received: from mail.heintzberger.org (heintzberger.org [63.225.92.229]) by mx1.FreeBSD.org (Postfix) with SMTP id 36EF643D39 for ; Sat, 17 Apr 2004 15:12:29 -0700 (PDT) (envelope-from erich@heintzberger.org) Received: (qmail 61113 invoked by uid 1001); 17 Apr 2004 22:12:36 -0000 Date: Sat, 17 Apr 2004 15:12:36 -0700 From: Eric Heintzberger To: "freebsd.org@carmoda.com" Message-ID: <20040417221236.GA60996@heintzberger.org> References: <4080E09D.5030601@carmoda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4080E09D.5030601@carmoda.com> User-Agent: Mutt/1.4.2.1i 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 22:12:29 -0000 This is how I would do it, assuming I understand you correctly: [wwwdev] comment = Virtual Web Servers HTTP dirs path = /usr/wwwdev browseable = yes # So that new files are created with 0664 mode -- force create mode = 0664 # So that new directories are created with 0775 mode -- force directory mode = 0775 force group = wwwdev # Set this to yes (default) if you use the DOS archive bit for backups # Otherwise, set it to no to get rid of unintended executable bits # being set in non-executable files map archive = no printable = no public = no valid users = @wwwdev writable = yes Also, reset all permissions and group ownerships in /usr/wwwdev to the intended values. 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: > > ////////////////////////////////////////////////////// > [wwwdev] > comment = Virtual Web Servers HTTP dirs > path = /usr/wwwdev > create mode = 0765 > valid users = @wwwdev > ////////////////////////////////////////////////////// > > > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"