*BSD News Article 88682


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!fu-berlin.de!news.gtn.com!klemm.gtn.com!usenet
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: File access mixed up! HELP!
Date: 8 Feb 1997 18:38:41 GMT
Organization: FreeBSD makes fun
Lines: 35
Message-ID: <5dih7h$5ch@klemm.gtn.com>
References: <5dhjsq$hpo@kralle.zdv.Uni-Mainz.DE>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: root@ipamzlx.physik.uni-mainz.de (Supervisor)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35198

[Posted and mailed]

In article <5dhjsq$hpo@kralle.zdv.uni-mainz.de>,
	root@ipamzlx.physik.uni-mainz.de (Supervisor) writes:
> While installing some new stuff by hand and updating the systems's area
> I 've overwritten some access bits. The systems gets in trouble while having
> the wrong access bits and ownership on some files. Is there a "map" or a
> tool for fixing the access and ownership relations?

Doing a 'make world' in /usr/src would be a fine solution, which
builds and installs the system completely new, but leaves /etc
'as is'.

Files in /dev can be rebuild by running the MAKEDEV script.

Files in /etc can be rebuild by hand by browsing through
/usr/src/etc and rebuilding files as necessary.

You only need the system sources in /usr/src. You can get them
from CD-ROM and via sup and cvsup.

There is no system tool that fixes permissions, since file
permissions aren't recorded and FreeBSD isn't packaged like 
Solaris 2, which does so and has a fixperm.

All I can do is, to send you the gnu zipped output of ls -lgR,
so that you can write a script, that fixes permissions as you like.

	Andreas ///

-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<