summaryrefslogtreecommitdiff
path: root/make_individual_torrent
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-29 06:37:40 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-29 06:37:40 -0400
commit948e0e109a6c226c140db7be035b5c65338bc1c7 (patch)
treeb7b964ac820c1c965ed0afa06c63259bb9d960fe /make_individual_torrent
parentff83e8b5238aaf6b194d4215df8d8e4850f238de (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 'make_individual_torrent')
0 files changed, 0 insertions, 0 deletions