From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 00:21:56 2003 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 82D7316A4CE for ; Wed, 24 Dec 2003 00:21:56 -0800 (PST) Received: from geminix.org (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4058143D5C for ; Wed, 24 Dec 2003 00:21:55 -0800 (PST) (envelope-from gemini@geminix.org) Message-ID: <3FE94CA0.6030605@geminix.org> Date: Wed, 24 Dec 2003 09:21:52 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3FE90996.9050606@princeton.edu> In-Reply-To: <3FE90996.9050606@princeton.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1AZ4HB-000ALU-00; Wed, 24 Dec 2003 09:21:53 +0100 Subject: Re: group members can't modify files even though 775 set 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: Wed, 24 Dec 2003 08:21:56 -0000 Seamus Abshere wrote: > Dear freebsd-questions, > > I want all members of the "webmasters" group to be able to modify my web > documents directory /www. > > Here's my user, a webmaster: > [...] > > But this happens when I am logged in as sabshere: > >> $echo "whatev" > index.html >> -bash: index.html: cannot overwrite existing file I think this has nothing to do with file permissions. Instead, the 'noclobber' option is probably enabled in your bash settings, so the shell refuses to overwrite existing files. Find the directive 'set -o noclobber' in your shell's startup files and comment it out, or if this behaviour is the default, try to override it with 'set +o noclobber'. Hope this helps. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net