link(2) may fail with EPERM if name1 is immutable or append-only.

PR:		31025
Submitted by:	Tim Singletary <tsingle@vetinsite.com>
This commit is contained in:
Dima Dorfman 2001-10-14 22:40:19 +00:00
parent c4c8394066
commit c49c01757a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84942

View File

@ -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