summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-12-27 01:24:21 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-12-27 01:24:21 +0000
commitb4b7045d1313cd933393a2059d871359bac01894 (patch)
tree1b05e7ad5ba0224a878293e4d47220b6858cd67a
parent75e550fdcee63ddac22a420c6e4997131979c086 (diff)
adjusted to state "no hard links to directories"
-rw-r--r--lib/libc/sys/link.25
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index fbb03baff53..2a6f8b66c88 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -76,7 +76,7 @@ both
and
.Fa name2
must be in the same file system.
-Unless the caller is the super-user,
+As mandated by POSIX.1
.Fa name1
may not be a directory.
.Sh RETURN VALUES
@@ -116,8 +116,7 @@ does exist.
.It Bq Er EPERM
The file named by
.Fa name1
-is a directory and the effective
-user ID is not super-user.
+is a directory.
.It Bq Er EXDEV
The link named by
.Fa name2