FreeBSD RELENG_4 error?!
Chuck Swiger
cswiger at mac.com
Mon Jun 14 22:49:19 GMT 2004
On Mon, 14 Jun 2004 16:06:04 +0300
"Igor S.Savchyk" <savchyk at 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 at 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 at epia.pkix.net:/usr/obj/usr/src/sys/EPIA i386
--
-Chuck
More information about the freebsd-stable
mailing list