Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 14:05:43 +0100
From:      "Ralf Mardorf" <ralf.mardorf@rocketmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to fix a broken owner for files from world & build from ports?
Message-ID:  <op.wrobztheuwjkcr@freebsd>
In-Reply-To: <20130129184455.742b28d8@X220.ovitrap.com>
References:  <op.wrms0fqkqhadp0@freebsd> <20130129082806.GA2035@holstein.holy.cow> <20130129090819.GA1372@tiny.Sisis.de> <20130129184455.742b28d8@X220.ovitrap.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I suspect it's less effort to use Thunar and instead of scrolling, as I  
did before (when I missed some wrong owners), to switch sorting by owner  
between ascending and descending, to ensure not to miss a bad owner again.

I'm surprised, there's no /bin/sh for the backup:

/bin

# find /usr/TMP4DIFF/bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11"  
"$12" "$13}' > bin.TMP.txt
# find /bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}'  
> bin.BSD.txt
# diff bin.TMP.txt bin.BSD.txt > bin.DIF.txt
# grep rocketmouse bin.DIF.txt
> rocketmouse /bin/sh
# ls -ld /bin/sh
-r-xr-xr-x  1 rocketmouse  wheel  142952 Dec 23 18:38 /bin/sh
# ls -ld /usr/TMP4DIFF/bin/sh
ls: /usr/TMP4DIFF/bin/sh: No such file or directory

/lib

[snip ... no differences]

I anyway will unpack /usr too and take a look at the directories from the  
backup. I won't bother you with each detail, but report a list of  
differences, if there should be something very strange.

Regards,
Ralf

-- 
Sent from my PC while wearing my Relox watch and Iccug handback.
If you pay me, product placement for your lemon could be placed here too,  
just mailto:/dev/nul.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wrobztheuwjkcr>