Wait.

You can do `diff -Naur good-package.d/ bad-package.d/' and see the
differences.

And then you can do ...

for i in good-package.d bad-package.d; do
  find $i -exec ls -ldAq --full-time {} \; |
  sed
  
's/^\([^[:space:]]*[[:space:]]*[^[:space:]]*[[:space:]]*[^[:space:]]*[[:space:]]*[^[:space:]]*[[:space:]]*[^[:space:]]*[[:space:]]*\)[^[:space:]]*[[:space:]]*[^[:space:]]*[[:space:]]*/\1/'
  | sort > ${i}.ls
done
diff -u {good,bad}-package.d.ls

... and see all the permission changes.

And sorry about that [:space:] sausage. It's all on a single line and
is ment to delete the timestamp from the ls listing. I couldn't come up
with anything more civilized in this short time frame.

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to