From owner-freebsd-stable@FreeBSD.ORG Mon Jun 14 22:49:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9208A16A4CE for ; Mon, 14 Jun 2004 22:49:19 +0000 (GMT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 260E843D1F for ; Mon, 14 Jun 2004 22:49:19 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out006.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040614224918.ZECS3317.out006.verizon.net@[192.168.1.3]>; Mon, 14 Jun 2004 17:49:18 -0500 Message-ID: <40CE2B6B.3000809@mac.com> Date: Mon, 14 Jun 2004 18:49:15 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <13312261450.20040614160604@list.ru> <20040614131236.63bd2859.rpratt1950@earthlink.net> In-Reply-To: <20040614131236.63bd2859.rpratt1950@earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [68.161.84.3] at Mon, 14 Jun 2004 17:49:18 -0500 cc: freebsd-stable@freebsd.org cc: "Igor S.Savchyk" Subject: Re: FreeBSD RELENG_4 error?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 22:49:19 -0000 On Mon, 14 Jun 2004 16:06:04 +0300 "Igor S.Savchyk" wrote: >For the beginning there is some comparison of behaviour various of OS: > >$ echo readable >try_read_me >$ chmod 0333 try_read_me My guess is that you were testing as root. For instance, I retried this example under Solaris 2.8, FreeBSD 4.10, and FreeBSD 5.2-CURRENT: 2-pong% echo readable > try_read_me 3-pong% chmod 0333 try_read_me 4-pong% cat try_read_me cat:14: permission denied: try_read_me 5-pong% uname -a SunOS pong 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4 Solaris 1-sec% echo readable > try_read_me 2-sec% chmod 0333 try_read_me 3-sec% cat try_read_me cat: try_read_me: Permission denied 4-sec% uname -a FreeBSD sec.pkix.net 4.10-STABLE FreeBSD 4.10-STABLE #2: Thu Jun 10 18:41:59 EDT 2004 root@sec.pkix.net:/usr/obj/usr/src/sys/NORMAL i386 $ echo readable > try_read_me $ chmod 0333 try_read_me $ cat try_read_me cat: try_read_me: Permission denied $ uname -a FreeBSD epia.pkix.net 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun May 9 04:56:46 EDT 2004 root@epia.pkix.net:/usr/obj/usr/src/sys/EPIA i386 -- -Chuck