Date: Mon, 14 Jun 2004 18:49:15 -0400 From: Chuck Swiger <cswiger@mac.com> Cc: "Igor S.Savchyk" <savchyk@list.ru> Subject: Re: FreeBSD RELENG_4 error?! Message-ID: <40CE2B6B.3000809@mac.com> In-Reply-To: <20040614131236.63bd2859.rpratt1950@earthlink.net> References: <13312261450.20040614160604@list.ru> <20040614131236.63bd2859.rpratt1950@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Jun 2004 16:06:04 +0300 "Igor S.Savchyk" <savchyk@list.ru> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40CE2B6B.3000809>