From 516c13f08d06fc735cb873bac1b6c15a75b91407 Mon Sep 17 00:00:00 2001 From: pjd Date: Sat, 9 Dec 2006 23:06:01 +0000 Subject: If the parent directory of the named file has its immutable flag set, mkfifo(2) returns EPERM. --- lib/libc/sys/mkfifo.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2 index 329c26b..b4fcd91 100644 --- a/lib/libc/sys/mkfifo.2 +++ b/lib/libc/sys/mkfifo.2 @@ -32,7 +32,7 @@ .\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd June 4, 1993 +.Dd December 10, 2006 .Dt MKFIFO 2 .Os .Sh NAME @@ -86,6 +86,10 @@ Too many symbolic links were encountered in translating the pathname. The named file resides on a read-only file system. .It Bq Er EEXIST The named file exists. +.It Bq Er EPERM +The parent directory of the named file has its immutable flag set, see the +.Xr chflags 2 +manual page for more information. .It Bq Er ENOSPC The directory in which the entry for the new fifo is being placed cannot be extended because there is no space left on the file @@ -116,6 +120,7 @@ argument points outside the process's allocated address space. .El .Sh SEE ALSO +.Xr chflags 2 , .Xr chmod 2 , .Xr mknod 2 , .Xr stat 2 , -- cgit v1.1