How to fix a broken owner for files from world & build from ports?
Ralf Mardorf
ralf.mardorf at rocketmail.com
Tue Jan 29 13:05:54 UTC 2013
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.
More information about the freebsd-questions
mailing list