From mkamm@sbox.tu-graz.ac.at  Sun Feb 11 14:43:50 2001
Return-Path: <mkamm@sbox.tu-graz.ac.at>
Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3])
	by hub.freebsd.org (Postfix) with ESMTP id 42D2537B491
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Feb 2001 14:43:49 -0800 (PST)
Received: from homebox.kammerhofer.org (isdn091.tu-graz.ac.at [129.27.240.91])
	by ns1.tu-graz.ac.at (8.9.3/8.9.3) with ESMTP id XAA07814
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Feb 2001 23:43:41 +0100 (MET)
Received: (from mkamm@localhost)
	by homebox.kammerhofer.org (8.11.2/8.11.2) id f1AIrHF12064;
	Sat, 10 Feb 2001 19:53:17 +0100 (CET)
	(envelope-from mkamm)
Message-Id: <200102101853.f1AIrHF12064@homebox.kammerhofer.org>
Date: Sat, 10 Feb 2001 19:53:17 +0100 (CET)
From: mkamm@gmx.net
Reply-To: mkamm@gmx.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: symlink(7) manpage says symlinks have no owners
X-Send-Pr-Version: 3.2

>Number:         25016
>Category:       docs
>Synopsis:       symlink(7) manpage says symlinks have no owners
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 14:50:02 PST 2001
>Closed-Date:    Thu Aug 14 07:10:25 PDT 2003
>Last-Modified:  Thu Aug 14 07:10:25 PDT 2003
>Originator:     Martin Kammerhofer
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Universitt Graz
>Environment:
>Description:

I quote output from "man 7 symlink":

###   For example, the command ``chown -R user slink directory'' will ignore
###   ``slink'', because symbolic links in this system do not have owners.

This is obsolete. Symlinks do have owners nowadays.

>How-To-Repeat:

man 7 symlink

>Fix:

Index: symlink.7
===================================================================
RCS file: /home/ncvs/src/bin/ln/symlink.7,v
retrieving revision 1.17
diff -u -r1.17 symlink.7
--- symlink.7	2001/01/24 23:49:59	1.17
+++ symlink.7	2001/02/10 14:48:41
@@ -268,10 +268,10 @@
 themselves, but otherwise the links are ignored.
 .Pp
 For example, the command
-.Dq Li "chown -R user slink directory"
+.Dq Li "chmod -R 0123 slink directory"
 will ignore
 .Dq Li slink ,
-because symbolic links in this system do not have owners.
+because symbolic links in this system do not have permissions.
 Any symbolic links encountered during the tree traversal will also be
 ignored.
 The command

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: ru 
State-Changed-When: Tue Aug 21 05:27:42 PDT 2001 
State-Changed-Why:  
The suggested fix is also wrong because FreeBSD 3.0 and above 
support access mode on a symbolic link with the lchmod(2) call. 
In FreeBSD 5.0-CURRENT, chmod(1) utility can be used to change 
the access mode on a symbolic link. 


Responsible-Changed-From-To: freebsd-doc->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Tue Aug 21 05:27:42 PDT 2001 
Responsible-Changed-Why:  
I will work on fixing the docs. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25016 
State-Changed-From-To: analyzed->patched 
State-Changed-By: tjr 
State-Changed-When: Sun May 26 05:51:53 PDT 2002 
State-Changed-Why:  
Offending example has been removed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25016 
State-Changed-From-To: patched->closed 
State-Changed-By: jmg 
State-Changed-When: Sat Jun 21 21:08:08 PDT 2003 
State-Changed-Why:  
this was patched long ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25016 
State-Changed-From-To: closed->patched 
State-Changed-By: jmg 
State-Changed-When: Sun Jun 22 00:59:35 PDT 2003 
State-Changed-Why:  
RU says not to close this till it's MFC.  It's been 26 days since 
this has been fixed.  I'll let ru handle his PR's from now on. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25016 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Thu Aug 14 07:09:44 PDT 2003 
State-Changed-Why:  
Fixes merged into 4.8-STABLE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25016 
>Unformatted:
