Date: Tue, 29 Jan 2013 10:08:20 +0100 From: Matthias Apitz <guru@unixarea.de> To: Ralf Mardorf <ralf.mardorf@alice-dsl.net>, freebsd-questions@freebsd.org Subject: Re: How to fix a broken owner for files from world & build from ports? Message-ID: <20130129090819.GA1372@tiny.Sisis.de> In-Reply-To: <20130129082806.GA2035@holstein.holy.cow> References: <op.wrms0fqkqhadp0@freebsd> <20130129082806.GA2035@holstein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, January 28, 2013 a las 10:28:06PM -1000, parv escribió: > in message <op.wrms0fqkqhadp0@freebsd>, > wrote Ralf Mardorf thusly... > > > > Hi :) > > > > I hope it's ok, when I open a new thread for this issue. > > First I need to know what files have a bad owner. > > > > I'm running > > # freebsd-update IDS >> outfile_28Jan2013.ids > > perhaps this will give some useful output, regarding to a wrong owner for > > files from world. > > > > It's still running. > > > > I still have no idea how to check this for the files build from ports. > > If I understand your problem correctly, it is of incorrect owner & > group. If so, are there any problems with just running "chown -R" on > the parent directory (say /usr/local, where ports are installed by > default)? In general, I find all this thread (wrong file owner) a bit boring. This is a mayor damage and can only be repaired by a new installation. A lot of files and directories in the systems filesystem, in / /var /usr, have dedicated owner to allow certain processes which does not run as 'root' to do their correct work there, for exmample 'mail'; i.e. you can not do just a complete "chown -R root .... " and expect that the system still works; the same is true for the ports below /usr/local; just run on a correct system something like: # find /usr/local -exec ls -ld {} \; | fgrep -v root to get a list about what I am talking. HIH matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130129090819.GA1372>