From owner-freebsd-questions@FreeBSD.ORG Tue Aug 16 02:34:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58EB8106564A for ; Tue, 16 Aug 2011 02:34:35 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 444478FC0A for ; Tue, 16 Aug 2011 02:34:35 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p7G2YYFh007861; Mon, 15 Aug 2011 19:34:34 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4E49D739.9080004@rawbw.com> Date: Mon, 15 Aug 2011 19:34:33 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110716 Thunderbird/5.0 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4E497C2A.4060403@rawbw.com> <4e4a2b2c.yX3blW9IEVGiJ+Oa%perryh@pluto.rain.com> In-Reply-To: <4e4a2b2c.yX3blW9IEVGiJ+Oa%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kudzu@tenebras.com, freebsd-questions@freebsd.org Subject: Re: Group permissions are broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 02:34:35 -0000 On 08/16/2011 01:32, perryh@pluto.rain.com wrote: > On my 8.1 system, sticky(8) says: > > A directory whose `sticky bit' is set becomes ... a directory in > which the_deletion_ of files is restricted. A file in a sticky > directory may only be_removed_ or_renamed_ if ... > > [emphasis added] > > Nothing there about the sticky bit changing the permissions required > to_overwrite_ a file, which is the subject of the current inquiry. > > Even if the sticky bit_did_ have some effect on overwriting a file, > how would that explain the_different_ behavior of the two cases shown? Actually, sticky has nothing to do with this. I originally spotted the problem on one device under /dev/ and later just made an example under tmp. Same behavior was for any other directory. I still can't get why this happened. Yuri