From schilling@fokus.gmd.de  Tue Jan 15 02:07:02 2002
Return-Path: <schilling@fokus.gmd.de>
Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14])
	by hub.freebsd.org (Postfix) with ESMTP id AF82537B416
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Jan 2002 02:07:00 -0800 (PST)
Received: from burner.fokus.gmd.de (burner [193.175.133.116])
	by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g0FA6uh26166;
	Tue, 15 Jan 2002 11:06:56 +0100 (MET)
Received: (from jes@localhost)
	by burner.fokus.gmd.de (8.11.4+Sun/8.11.4) id g0FA5XR08180;
	Tue, 15 Jan 2002 11:05:33 +0100 (MET)
Message-Id: <200201151005.g0FA5XR08180@burner.fokus.gmd.de>
Date: Tue, 15 Jan 2002 11:05:33 +0100 (MET)
From: Joerg Schilling <schilling@fokus.gmd.de>
To: FreeBSD-gnats-submit@freebsd.org, brandt@fokus.gmd.de
Cc: schilling@fokus.gmd.de
Subject: Re: Documentet behaviour of SF_flags for non-SU is wrong

>Number:         33915
>Category:       docs
>Synopsis:       Re: Documentet behaviour of SF_flags for non-SU is wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 15 02:10:01 PST 2002
>Closed-Date:    Wed Jan 23 16:37:54 PST 2002
>Last-Modified:  Thu Oct 07 18:34:58 GMT 2004
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 >From brandt@fokus.gmd.de Mon Jan 14 17:27:17 2002
 
 >	
 >>Description:
 
 >	The man 2 chflags man page is wrong in its description how the
 >	flags are handled in some cases:
 
 >	1. The non-superuser is not allowed to change any flag if one of
 >	SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK are set. While the first is
 >	abvious the other two cases are not and should be documentet.
 
 >	2. The non-superuser is not allowed to SET any SF_* flag. Doing
 >	so results in EPERM returned (this is contrary to the man page).
 
 >	3. Clearing a SF_* flag by the superuser is silently ignored.
 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 This should read: Clearing a SF_* flag by the non-superuser is silently ignored.
 
 Jrg
 
  EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jrg Schilling D-13353 Berlin
        js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
        schilling@fokus.gmd.de		(work) chars I am J"org Schilling
  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Wed Jan 23 16:37:54 PST 2002 
State-Changed-Why:  
This was not caught by gnats.  Was feedback to PR 33877. 
I copied relevant parts to the audit trail of 33877. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33915 
>Unformatted:
