NetBSD Problem Report #29208
From www@netbsd.org Thu Feb 3 02:03:20 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 5873863B400; Thu, 3 Feb 2005 02:03:20 +0000 (UTC)
Message-Id: <20050203020320.5873863B400@narn.netbsd.org>
Date: Thu, 3 Feb 2005 02:03:20 +0000 (UTC)
From: guy@alum.mit.edu
Reply-To: guy@alum.mit.edu
To: gnats-bugs@netbsd.org
Subject: Various system call man pages say nothing about errors on immutable files
X-Send-Pr-Version: www-1.0
>Number: 29208
>Category: misc
>Synopsis: Various system call man pages say nothing about errors on immutable files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 03 02:04:00 +0000 2005
>Closed-Date: Sun Oct 08 15:08:22 +0000 2006
>Last-Modified: Sun Oct 08 15:08:22 +0000 2006
>Originator: Guy Harris
>Release: NetBSD-current
>Organization:
>Environment:
(Well, I'm not using it, I'm using the Web site to check the man page)
>Description:
The unlink(2) man page doesn't list an attempt to remove an immutable file as causing EPERM to be returned as an error. Other man pages also don't list it, either.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Guy Harris <guy@alum.mit.edu>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/29208: Various system call man pages say nothing about errors on immutable files
Date: Wed, 2 Feb 2005 18:14:19 -0800
OpenBSD's unlink(2) man page *does* have it:
[EPERM] The named file has its immutable or append-only flag
set
(see chflags(2)).
and their versions of other man pages might have it, too.
From: Guy Harris <guy@alum.mit.edu>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/29208: Various system call man pages say nothing about errors on immutable files
Date: Wed, 2 Feb 2005 18:33:46 -0800
Their link(2) man page also has it; other OpenBSD man pages don't.
State-Changed-From-To: open->closed
State-Changed-By: elad@netbsd.org
State-Changed-When: Sun, 08 Oct 2006 15:08:22 +0000
State-Changed-Why:
i've given this some thought. immutable is a flag that applies to only some file-systems. we can't list all implications of file-system specific flags/attributes/whatever in all man-pages, so we should rather centralize them in the man-pages for the tools that set/unset them - as we do now.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.