summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-06-19 01:07:05 +0000
committerjdp <jdp@FreeBSD.org>1997-06-19 01:07:05 +0000
commit49bea635234660b15ec2cdfb01e3eabb0d585cd3 (patch)
tree504a969478147ddd98a068f364dc9f16288eef40 /bin/ln
parent016c0a5f2127ee2908d0a722fc8b3c431a982dc3 (diff)
downloadFreeBSD-src-49bea635234660b15ec2cdfb01e3eabb0d585cd3.zip
FreeBSD-src-49bea635234660b15ec2cdfb01e3eabb0d585cd3.tar.gz
Try again to explain the existence of lchown() and the absence of
lchmod() and lutimes().
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/symlink.719
1 files changed, 7 insertions, 12 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7
index bc707e3..e183358 100644
--- a/bin/ln/symlink.7
+++ b/bin/ln/symlink.7
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
-.\" $Id: symlink.7,v 1.5 1997/06/03 06:27:44 charnier Exp $
+.\" $Id: symlink.7,v 1.6 1997/06/14 18:44:03 jdp Exp $
.\"
.Dd March 31, 1994
.Dt SYMLINK 7
@@ -121,17 +121,12 @@ is an alias for
.Xr unlink 2 ,
it also does not follow symbolic links.
.Pp
-Although symbolic links have owner and group attributes, they
-do not have permissions, access and modification times, etc.
-The only attributes returned from an
-.Xr lstat 2
-that refer to the symbolic link itself are the file type (S_IFLNK),
-owner, group, size, blocks, and link count (always 1).
-The other attributes are filled in from the directory that contains
-the link.
-For portability reasons, you should be aware that other implementations
-(including historic implementations of 4BSD), implement symbolic links
-such that they have the same attributes as any other file.
+The owner and group of an existing symbolic link can be changed by
+means of the
+.Xr lchown 2
+system call.
+The other file attributes, such as the modification time and access
+permissions, are not used by the system and cannot be changed.
.Pp
The
.Bx 4.4
OpenPOWER on IntegriCloud