Bug 103700

Summary: chmod(1) man page does not mention root owned dirs exemption with suiddir
Product: Documentation Reporter: Denis Eremenko <moonshade> <moonshade>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Denis Eremenko <moonshade@pnhz.kz> 2006-09-27 04:20:17 UTC

"man chmod" says nothing about root owned dirs issue with suiddir in description of 4000 mode (setuid bit). But sys/conf/NOTES does: "Root owned directories are exempt and X bits are cleared". Having this note in chmod man page would make using suiddir less confusing.
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2006-10-07 22:37:30 UTC
State Changed
From-To: open->closed

The chmod(1) man page does say "see chmod(2) and the suiddir 
option to mount(8)", and both of those state that this does not work for 
root owned directories.  I honestly believe that three places is enough.