Bug 33915

Summary: Re: Documentet behaviour of SF_flags for non-SU is wrong
Product: Documentation Reporter: Joerg Schilling <schilling>
Component: Books & ArticlesAssignee: GNATS administrator <gnats-admin>
Status: Closed FIXED    
Severity: Affects Only Me CC: schilling
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Joerg Schilling 2002-01-15 10:10:01 UTC
 >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.
 
 Jörg
 
  EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg 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
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2002-01-24 00:37:54 UTC
State Changed
From-To: open->closed

This was not caught by gnats.  Was feedback to PR 33877. 
I copied relevant parts to the audit trail of 33877.