From owner-freebsd-questions Fri May 23 02:52:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA11597 for questions-outgoing; Fri, 23 May 1997 02:52:26 -0700 (PDT) Received: from jocki.domestic.de (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA11586 for ; Fri, 23 May 1997 02:52:21 -0700 (PDT) Received: (from joki@localhost) by jocki.domestic.de (8.8.5/8.8.5) id LAA00414; Fri, 23 May 1997 11:52:03 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 23 May 1997 11:24:34 +0200 (CEST) From: Joachim Kuebart To: Shawn Ramsey Subject: RE: Problem! Cc: questions@FreeBSD.ORG Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 22-May-97 at 03:13:05 Shawn Ramsey wrote: >We have a slight problem. Accidentaly, the command chown /*/* (or >something like that) was performed as root. :( /dev, amoung others have >the wrong owner. Do all the /dev files have the same owner? Root? Bin? >What? Nope! The device entries have quite different owners (dialer, opertaor, ...) See /dev/MAKEDEV for the settings used when the are created... /dev itself is root:wheel! > >What should most executable files have, such as /bin, and /sbin? Do I need >to reinstall, or can I assign all the system executables root w/o mishap? Most executables are bin:bin. However, some of the setuid/setgid need to bee in a different user/group, for obvious reasons (that's the whole point of setuid, setgid). Maybe the man pages will help... Try getting a bin release and run cat bin.?? | tar tzvf | more It will show the owners of the base binaries... I don't know about packages, though :-( > > >Thanks... cu Jo --------------------------------------------------------------------- FreeBSD - top breeders recommend it Joachim Kuebart Tel: +49 711 653706 Germany