Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 11:29:29 +0100 (CET)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/34159: chroot man page-implementation mismatch
Message-ID:  <200201221029.g0MATTB94370@naos.dbai.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help

>Number:         34159
>Category:       bin
>Synopsis:       chroot man page-implementation mismatch
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 22 02:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD naos.dbai.tuwien.ac.at 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Oct 17 12:35:32 CEST 2001 root@naos.dbai.tuwien.ac.at:/usr/src/sys/compile/DBAI i386

>Description:
	I'm not completely sure whether this is a problem with documentation
	or implementation but...

	o 'man chroot' states that "command or the shell are run as your
	real-user-id" whereas it seems that chroot can only be run by
	the super-user.

	o If chroot indeed can only be run by the super-user, this should
	be properly documented, for example:

	    "This command can be run only by the super-user."

	o "exec's command" should most probably read "exec's command relative
	to newroot".
	
>How-To-Repeat:
	man chroot
	chroot /bin -- as regular user
	chroot /bin /bin/csh -- as super-user

>Fix:
	Update man page as described above (or adjust implementation).
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201221029.g0MATTB94370>