9fans archive / 2001 / 03 / 287 /    prev next

From: Alexander Viro <viro@mat...>
Subject: Re: [9fans] 9fs/9auth for FreeBSD 
Date: Wed, 28 Mar 2001 19:20:54 -0500 (EST)



On Wed, 28 Mar 2001, Lyndon Nerenberg wrote:

> >>>>> "Alexander" == Alexander Viro <viro@mat...> writes:
> 
>     Alexander> Linux: -EPERM on open() 
> 
> Broken. (Iff they are modeling chflags(). Linux likes to make
> up its own random braindead behaviours though.)
> 
>     Alexander> FreeBSD: -EPERM on write() (open() succeeds).
> 
> Which is the correct behaviour (for chflags()).

== behaves the same way as 4.4BSD (system that introduced chflags()).
Whether said behaviour makes sense or not is a completely different
question, though...