diff options
author | dd <dd@FreeBSD.org> | 2001-10-14 22:40:19 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-10-14 22:40:19 +0000 |
commit | 4ac82088dcddb945b64d88de15fa5db3b435dabc (patch) | |
tree | bf8a46899605a1f6fddc720e877007b7f0177da2 /lib | |
parent | e6528784cfe2f8c882b7d634b156cf89bdf15067 (diff) | |
download | FreeBSD-src-4ac82088dcddb945b64d88de15fa5db3b435dabc.zip FreeBSD-src-4ac82088dcddb945b64d88de15fa5db3b435dabc.tar.gz |
link(2) may fail with EPERM if name1 is immutable or append-only.
PR: 31025
Submitted by: Tim Singletary <tsingle@vetinsite.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/link.2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index d9d9fa9..eb193a6 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -118,7 +118,9 @@ does exist. .It Bq Er EPERM The file named by .Fa name1 -is a directory. +is a directory or is flagged immutable or append-only +(See +.Xr chflags 1 ) . .It Bq Er EXDEV The link named by .Fa name2 @@ -145,6 +147,7 @@ One of the pathnames specified is outside the process's allocated address space. .El .Sh SEE ALSO +.Xr chflags 1 , .Xr readlink 2 , .Xr symlink 2 , .Xr unlink 2 |