From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 21:57:51 2005 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 360CE16A4CE for ; Sat, 12 Mar 2005 21:57:51 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 928D643D46 for ; Sat, 12 Mar 2005 21:57:50 +0000 (GMT) (envelope-from danie.dutoit@gmail.com) Received: by wproxy.gmail.com with SMTP id 67so1919967wri for ; Sat, 12 Mar 2005 13:57:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=GbXhSDjHA9lXB3tyMT9i2idtS4S/bUijuUFnjJasyuBCiWG/EM5khPk3lGyO0+zNeG011trphFmEBDOT9L2pO86f5Wf7itNT0hvtVSQ5II1YkKLp4UHNZXf5CguVz1HHWcKnqQGBCgvJfVgDRPpXephZHeS7giUgNw8SZbmcdxo= Received: by 10.54.4.8 with SMTP id 8mr3731929wrd; Sat, 12 Mar 2005 13:57:49 -0800 (PST) Received: by 10.54.44.24 with HTTP; Sat, 12 Mar 2005 13:57:49 -0800 (PST) Message-ID: <8af825890503121357421624c3@mail.gmail.com> Date: Sat, 12 Mar 2005 16:57:49 -0500 From: Danie Du Toit To: Gary Stanny In-Reply-To: <6.1.2.0.2.20050312163705.03c40278@10.10.10.1> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <6.1.2.0.2.20050312163705.03c40278@10.10.10.1> cc: questions@freebsd.org Subject: Re: can't delete file even after "chmod 777" & "rm -f" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Danie Du Toit List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 21:57:51 -0000 The attributes for the /home/robot and /home/mlbot by default set to 755. To have a users in the same group delete files from these directories, you need to set the directory attributes to 775. On Sat, 12 Mar 2005 16:47:03 -0500, Gary Stanny wrote: > > Howdy - > > I'm having a weird problem. My users can't delete each other's files. > Even if I "chmod 777" the target file and use a "rm -f" cmd. Of course root > can delete the files. Both users are in wheel. > > stanny >ls -l bf_com_exit_rpt.txt > -rwxrwxrwx 1 robot wheel 5241 Mar 11 16:30 bf_com_exit_rpt.txt > > stanny >rm bf_com_exit_rpt.txt > rm: bf_com_exit_rpt.txt: Operation not permitted > > stanny >rm -f bf_com_exit_rpt.txt > rm: bf_com_exit_rpt.txt: Operation not permitted > > cat /etc/passwd -> > stanny:*:1000:0:Gary Stanny:/home/stanny:/usr/local/bin/zsh > robot:*:9999:0:Mr. Robot:/home/robot:/usr/local/bin/zsh > mlbot:*:9998:0:Mail Bot:/home/mlbot:/usr/local/bin/zsh > > stanny >cat /etc/group > # $FreeBSD: src/etc/group,v 1.19.2.1 2001/11/24 17:22:24 gshapiro Exp $ > # > wheel:*:0:root,stanny,robot,mlbot > > Please also CC me direct as I get the list via digest. > > Thanks a bunch. > > cheers > > gary > > Gary Stanny Tierra del Fuego Ltd. www.TDFltd.com > stanny@TDFltd.com Financial Software 734-449-8306 (voice/fax) > 7725 Shady Beach Dr Whitmore Lake, MI, 48189 USA > > _______________________________________________ > 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" >