How to fix a broken owner for files from world & build from ports?

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Jan 29 11:21:00 UTC 2013


On Mon, 2013-01-28 at 22:28 -1000, parv wrote:
> in message <op.wrms0fqkqhadp0 at 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)?
> 
> 
>   - parv

It's only the owner and yes, the problem is, that the owner not always
is root for important directories. I had to switch the uid for the owner
from 1001 to 1000, when I changed the owner for all files from 1001 to
1000, some owners in */bin and */lib directories were accidentally
changed too, for what reason ever.

Regards,
Ralf



More information about the freebsd-questions mailing list