Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 1999 11:14:17 -0700 (PDT)
From:      papowell@astart.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/13156: /usr/src/usr.bin/chown should be /usr/src/bin/chown
Message-ID:  <19990815181417.490BF14E3B@hub.freebsd.org>

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

>Number:         13156
>Category:       bin
>Synopsis:       /usr/src/usr.bin/chown should be /usr/src/bin/chown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 15 11:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Powell
>Release:        3.2-Release, also 4-current
>Organization:
Astart Technologies
>Environment:
See above
>Description:
chown is used by /dev/MAKEDEV, and is needed to create
devices.  If you are trying to recover from a failed disk or
install a new disk and chown is not available in /bin or /sbin
you cannot create the necessary device nodes.

Note that mknod is in /sbin, chmod is in /bin,  but chown is in /usr/bin
which is a very odd place for it.  It should probably be in /sbin or /bin

Patrick Powell

(Note:  I am surprised this has not become more visible)
>How-To-Repeat:
Ummm... crash your system,  and have only root available,
do:
mount -u /
cd /dev
MAKEDEV sd0
and see the error messages
>Fix:
mv /usr/src/usr.bin/chown /usr/src/sbin/
Update Distribution, fling it to the winds,  update change log.



>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?19990815181417.490BF14E3B>