diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-29 06:37:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-29 06:37:40 -0400 |
commit | 948e0e109a6c226c140db7be035b5c65338bc1c7 (patch) | |
tree | b7b964ac820c1c965ed0afa06c63259bb9d960fe /db-import-archlinux-src | |
parent | ff83e8b5238aaf6b194d4215df8d8e4850f238de (diff) |
db-check-package-libraries: Make it more robust.
First, to ease debugging, put some information in tmpdir filenames.
Then, to avoid issues with reading files that are mode unreadable, or
stat()ing them in unexecutable directories, add two `find` commands
that reset bad permissions to 755/644.
Then, skip over symlinks. Beside absolute links being broken in our
implementation, it also means that links to files in different
packages are broken. This leads to an exception being thrown, as the
file can't be open()ed.
Finally, skip over non-regular-file files. One package I tried
contained a named FIFO, which caused it to hang on open().
Diffstat (limited to 'db-import-archlinux-src')
0 files changed, 0 insertions, 0 deletions