Fix md5 directory permissions fallback #2
Reference in New Issue
Block a user
Delete Branch "codex/analyze-and-fix-issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
MD5_DIRnicht beschreibbar ist./md5) keine Schreibrechte hat.MD5_DIR, ansonsten Fallback auf/output/.md5oder/tmp/jd-md5.Description
_md5_dir_cacheand a helperpick_md5_dir()that selects a writable MD5 directory from candidates.pick_md5_dir()triesMD5_DIR,os.path.join(JD_OUTPUT_PATH, ".md5")and/tmp/jd-md5, creating directories and checking write access.write_md5_sidecar()to usepick_md5_dir()and write the.md5file into the selected directory.RuntimeErrorin German when no writable MD5 directory can be found.Testing
Codex Task
Pull request closed