Date: Tue, 16 Apr 1996 13:46:22 -0600 (MDT) From: Warner Losh <imp@village.org> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/1148: chroot.2 docs not complete Message-ID: <199604161946.NAA05546@rover.village.org> Resent-Message-ID: <199604161950.MAA03137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1148 >Category: docs >Synopsis: chroot(2) missing EPERM >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 16 12:50:01 PDT 1996 >Last-Modified: >Originator: Warner Losh >Organization: Warner Losh imp@village.org >Release: FreeBSD 2.1.0-RELEASE i386 (and -current) >Environment: >Description: chroot can return EPERM when the effective user ID is not the super-user, yet this case is not reflected in the man page. >How-To-Repeat: man 2 chroot >Fix: Apply this patch to the man page: Index: chroot.2 =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/lib/libc/sys/chroot.2,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 chroot.2 --- chroot.2 1994/05/27 04:58:09 1.1.1.1 +++ chroot.2 1996/04/16 19:40:01 @@ -71,6 +71,8 @@ .Bl -tag -width [ENOTDIR] .It Bq Er ENOTDIR A component of the path name is not a directory. +.It Bq Er EPERM +The effective user ID is not the super-user. .It Bq Er EINVAL The pathname contains a character with the high-order bit set. .It Bq Er ENAMETOOLONG >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604161946.NAA05546>